summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-10 18:04:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:33 -0500
commit8a05fe78c966bed4c1f18561bf03f9f190b36434 (patch)
treed500089f7bf5b24f46fd4de48cbab4dbaa9e9be5
parentec5167efa940884d2c74fd92a791e1c5b8746f2e (diff)
downloadsamba-8a05fe78c966bed4c1f18561bf03f9f190b36434.tar.gz
samba-8a05fe78c966bed4c1f18561bf03f9f190b36434.tar.bz2
samba-8a05fe78c966bed4c1f18561bf03f9f190b36434.zip
r21782: Fix a memleak
(This used to be commit a2dc1f62fdf7683cfb2ca71499dbe7efddc4aa9b)
-rw-r--r--source3/passdb/lookup_sid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 82db246f04..3881e43bd1 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -410,6 +410,7 @@ static BOOL wb_lookup_rids(TALLOC_CTX *mem_ctx,
names[i] = "";
types[i] = SID_NAME_UNKNOWN;
}
+ TALLOC_FREE(tmp_ctx);
return True;
}