r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[tprouty/samba.git] / source4 / torture / dcom / simple.c
index 102a3f0dab360028a9f805d3b8e845076c552d79..4e9ae1be28dac774fca061a73e090b702b33d0ad 100644 (file)
@@ -95,7 +95,7 @@ static BOOL test_readwrite(TALLOC_CTX *mem_ctx, const char *host)
                return False;
        }
 
-       talloc_destroy(mem_ctx);
+       talloc_free(mem_ctx);
 
        torture_rpc_close(p);