git.samba.org
/
jelmer
/
samba4-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r2655: fixed an error in the shutdown of the sock->transport->session->tree
[jelmer/samba4-debian.git]
/
source
/
libcli
/
raw
/
clisocket.c
diff --git
a/source/libcli/raw/clisocket.c
b/source/libcli/raw/clisocket.c
index 566367233379fbb7953867718e64c08b2ef96e75..8481bc73e2e00cf833c79be9cbb9ff86faefc6f1 100644
(file)
--- a/
source/libcli/raw/clisocket.c
+++ b/
source/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);
}
}