summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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;
}