r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),
[bbaumbach/samba-autobuild/.git] / source4 / rpc_server / common / gendb.c
index d20aef5ff87de7b4eb76afed966b83edac16291a..0e6ddb0693bdfa5cf6bef66d5c00325ed2a66ccd 100644 (file)
@@ -42,7 +42,7 @@ int gendb_search_v(struct ldb_context *ldb,
                return -1;
        }
 
-       ldb_set_alloc(ldb, talloc_ldb_alloc, mem_ctx);
+       ldb_set_alloc(ldb, talloc_realloc_fn, mem_ctx);
 
        count = ldb_search(ldb, basedn, LDB_SCOPE_SUBTREE, expr, attrs, res);