diff options
author | Volker Lendecke <vl@samba.org> | 2012-07-30 14:48:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-07-31 11:40:23 +0200 |
commit | 3bc1f4570e02a6df3a7eff227ef2f44c768b5d40 (patch) | |
tree | f096bdc767ac3fe30a2172f8cbc31f7c19fe192c /source3/passdb | |
parent | d1dccfbda650081d33dc2924c480b033b386d1e4 (diff) | |
download | samba-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>
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 1 |
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; } |