mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r6470: Remove ldb_search_free() it is not needed anymore.
Just use talloc_free() to release the memory after an ldb_search().
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
acf1d0a1b5
commit
4f0948dab0
@@ -55,7 +55,7 @@ static int ldb_delete_recursive(struct ldb_context *ldb, const char *dn)
|
||||
}
|
||||
}
|
||||
|
||||
ldb_search_free(ldb, res);
|
||||
talloc_free(res);
|
||||
|
||||
if (total == 0) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user