diff options
Diffstat (limited to 'source4/torture/basic')
-rw-r--r-- | source4/torture/basic/secleak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/secleak.c b/source4/torture/basic/secleak.c index 80bc799df0..54fa3ecee6 100644 --- a/source4/torture/basic/secleak.c +++ b/source4/torture/basic/secleak.c @@ -43,7 +43,7 @@ static BOOL try_failed_login(struct smbcli_state *cli) return False; } - smbcli_session_close(session); + talloc_free(session); talloc_free(mem_ctx); return True; |