mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3: Fix Coverity ID 710803 Resource leak
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Stefan Metzmacher
parent
d1dccfbda6
commit
3bc1f4570e
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user