r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git] / source4 / torture / rpc / samlogon.c
index afb30b1987613224a89bfc47cf2020a83bb8aca6..1c7e3e03501a5b329027ef09fc79879e68bbf3c7 100644 (file)
@@ -1297,7 +1297,7 @@ BOOL torture_rpc_samlogon(void)
        }
 
 failed:
-       talloc_destroy(mem_ctx);
+       talloc_free(mem_ctx);
 
        torture_rpc_close(p);