From 954869efdb8b0006fd4457a1c6d56a31c3825421 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 26 Sep 2004 07:04:35 +0000 Subject: r2655: fixed an error in the shutdown of the sock->transport->session->tree smbcli raw context handling (This used to be commit d5fd6388751944f11c34e5124d403d57c8670e3b) --- source4/libcli/raw/clisocket.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/libcli/raw/clisocket.c') diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c index 5663672333..8481bc73e2 100644 --- a/source4/libcli/raw/clisocket.c +++ b/source4/libcli/raw/clisocket.c @@ -104,6 +104,7 @@ void smbcli_sock_close(struct smbcli_socket *sock) sock->reference_count--; if (sock->reference_count <= 0) { smbcli_sock_dead(sock); + talloc_free(sock); } } -- cgit