r6470: Remove ldb_search_free() it is not needed anymore.
[sfrench/samba-autobuild/.git] / source4 / lib / ldb / tools / ldbtest.c
index 86f39d460668bc017e68b836e63301aae02666c6..fc1f3e3098d6c5d28f762fdf33df64f29b8cd349 100644 (file)
@@ -248,7 +248,7 @@ static void search_uid(struct ldb_context *ldb, int nrecords, int nsearches)
                }
 
                if (ret > 0) {
-                       ldb_search_free(ldb, res);
+                       talloc_free(res);
                }
 
                printf("testing uid %d/%d - %d  \r", i, uid, ret);