summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-07-30 14:48:28 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-31 11:40:23 +0200
commit3bc1f4570e02a6df3a7eff227ef2f44c768b5d40 (patch)
treef096bdc767ac3fe30a2172f8cbc31f7c19fe192c
parentd1dccfbda650081d33dc2924c480b033b386d1e4 (diff)
downloadsamba-3bc1f4570e02a6df3a7eff227ef2f44c768b5d40.tar.gz
samba-3bc1f4570e02a6df3a7eff227ef2f44c768b5d40.tar.bz2
samba-3bc1f4570e02a6df3a7eff227ef2f44c768b5d40.zip
s3: Fix Coverity ID 710803 Resource leak
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/passdb/pdb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index e0b6261eb9..1295862303 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1189,6 +1189,7 @@ static bool tdbsam_search_next_entry(struct pdb_search *search,
}
if (state->current == state->num_rids) {
+ TALLOC_FREE(user);
return false;
}