1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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
This commit is contained in:
Gregor Beck 2013-04-03 09:27:26 +02:00 committed by Michael Adam
parent 2ef02e4f5a
commit 87685b30d7

View File

@ -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;
}