summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-24 01:04:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:09 -0500
commit52ad7774b5f9ff701a5b03d801a54aa7e7005640 (patch)
treed2cee9a8e55628cae27a126fd2d579a6409b26c7 /source4
parent3e44c4a3ba6acd7d9bc997c012d1863377e9d873 (diff)
downloadsamba-52ad7774b5f9ff701a5b03d801a54aa7e7005640.tar.gz
samba-52ad7774b5f9ff701a5b03d801a54aa7e7005640.tar.bz2
samba-52ad7774b5f9ff701a5b03d801a54aa7e7005640.zip
r4952: removed a bogus talloc_steal() that was trying to cope with the
inverted memory hierarchy. Now the memory hierarchy is logical its not needed (and can cause a double free in RPC-SCHANNEL) (This used to be commit f8a950b57d7137c6fd0a77d063d946b4f9b3f014)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/cliconnect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c
index 5aabb55f5d..354840b84c 100644
--- a/source4/libcli/cliconnect.c
+++ b/source4/libcli/cliconnect.c
@@ -188,7 +188,6 @@ NTSTATUS smbcli_full_connection(TALLOC_CTX *parent_ctx,
(*ret_cli)->tree = tree;
(*ret_cli)->session = tree->session;
(*ret_cli)->transport = tree->session->transport;
- talloc_steal(*ret_cli, tree->session->transport->socket);
done:
talloc_free(mem_ctx);