diff options
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/rename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c index 7c9d15b534..187645f964 100644 --- a/source4/torture/raw/rename.c +++ b/source4/torture/raw/rename.c @@ -305,7 +305,7 @@ static bool test_ntrename(struct torture_context *tctx, status = smb_raw_rename(cli->tree, &io); CHECK_STATUS(status, NT_STATUS_SHARING_VIOLATION); - smb_raw_exit(cli->session); + smbcli_close(cli->tree, fnum); status = smb_raw_rename(cli->tree, &io); CHECK_STATUS(status, NT_STATUS_OK); |