From 52ad7774b5f9ff701a5b03d801a54aa7e7005640 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Jan 2005 01:04:15 +0000 Subject: 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) --- source4/libcli/cliconnect.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit