From e3880fa759cfa03222262327854fe7bbe585fe01 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 26 Sep 2004 11:30:20 +0000 Subject: r2660: - converted the libcli/raw/ library to use talloc_increase_ref_count() rather than manual reference counts - properly support SMBexit in the cifs and posix backends - added a logoff method to all backends With these changes the RAW-CONTEXT test now passes against the posix backend (This used to be commit c315d6ac1cc40546fde1474702a6d66d07ee13c8) --- source4/torture/basic/secleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/basic/secleak.c') 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; -- cgit