diff options
Diffstat (limited to 'source4/torture/smb2')
-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; } |