diff options
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 1b6ab9bb8b..c6c0f62896 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -1389,6 +1389,8 @@ static bool run_tcon2_test(int dummy) status = cli_raw_tcon(cli, service, password, "?????", &max_xmit, &cnum); + SAFE_FREE(service); + if (!NT_STATUS_IS_OK(status)) { printf("tcon2 failed : %s\n", nt_errstr(status)); } else { |