1
0
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:
Simo Sorce
2005-04-25 12:46:18 +00:00
committed by Gerald (Jerry) Carter
parent acf1d0a1b5
commit 4f0948dab0
20 changed files with 33 additions and 118 deletions

View File

@@ -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;