r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[nivanova/samba-autobuild/.git] / source4 / torture / raw / close.c
index f6884f37c91ecd50f51bf37f75895a8744d74482..5f2b7040d997a1bd6c2cd312df8e81484874e8c6 100644 (file)
@@ -166,6 +166,6 @@ done:
        smbcli_close(cli->tree, fnum);
        smbcli_unlink(cli->tree, fname);
        torture_close_connection(cli);
-       talloc_destroy(mem_ctx);
+       talloc_free(mem_ctx);
        return ret;
 }