The tree connects are handed in from the calling wrapper.
Those that are freed and reconnected inside the test function
can not be freed in the wrapper and stick to the torture_context
until this is released in the main function.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Oct 28 02:37:25 CEST 2011 on sn-devel-104
smb2_util_unlink(tree2, fname);
done:
+ talloc_free(tree1);
+ talloc_free(tree2);
+
return ret;
}
smb2_util_close(tree2, h2);
smb2_util_unlink(tree2, fname);
+ talloc_free(tree1);
+ talloc_free(tree2);
+
return ret;
}
smb2_util_close(tree2, h2);
smb2_util_unlink(tree2, fname);
+ talloc_free(tree1);
+ talloc_free(tree2);
+
return ret;
}
done:
smb2_util_close(tree, h);
smb2_util_unlink(tree, fname);
+ talloc_free(tree);
return ret;
}
smb2_util_close(tree1, h1);
smb2_util_unlink(tree1, fname);
+ talloc_free(tree1);
+ talloc_free(tree2);
+
return ret;
}