r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[tprouty/samba.git] / source4 / torture / rpc / drsuapi.c
index 4821d67d9c0d800f736ca1f77f2dd66c8e692902..f386c84a91e3e957869c03e900b84916021167e0 100644 (file)
@@ -879,7 +879,7 @@ BOOL torture_rpc_drsuapi(void)
 
        ret &= test_DsUnbind(p, mem_ctx, &priv);
 
-       talloc_destroy(mem_ctx);
+       talloc_free(mem_ctx);
 
         torture_rpc_close(p);