diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-04-03 09:27:26 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-18 15:10:29 +0200 |
commit | 87685b30d7ab52193c54abacdab0b442bcc51a47 (patch) | |
tree | 9dc92cc2554418a046e2a876b3c55211dab38718 /source4 | |
parent | 2ef02e4f5a5772c1b598fa0df6e5cf0a10d2e060 (diff) | |
download | samba-87685b30d7ab52193c54abacdab0b442bcc51a47.tar.gz samba-87685b30d7ab52193c54abacdab0b442bcc51a47.tar.bz2 samba-87685b30d7ab52193c54abacdab0b442bcc51a47.zip |
s4:torture:smb2 delete temp memory context in test_durable_open_oplock_disconnect
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Apr 18 15:10:31 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/smb2/durable_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index e3d9185bdc..69bc5edd25 100644 --- a/source4/torture/smb2/durable_open.c +++ b/source4/torture/smb2/durable_open.c @@ -1813,7 +1813,7 @@ static bool test_durable_open_oplock_disconnect(struct torture_context *tctx, bool ret = true; snprintf(fname, 256, "durable_open_oplock_disconnect_%s.dat", - generate_random_str(tctx, 8)); + generate_random_str(mem_ctx, 8)); smb2_util_unlink(tree, fname); @@ -1841,7 +1841,7 @@ done: } smb2_util_unlink(tree, fname); } - + talloc_free(mem_ctx); return ret; } |