svn commit: samba r4952 - in branches/SAMBA_4_0/source/libcli: .

tridge at samba.org tridge at samba.org
Mon Jan 24 01:04:16 GMT 2005


Author: tridge
Date: 2005-01-24 01:04:15 +0000 (Mon, 24 Jan 2005)
New Revision: 4952

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4952

Log:
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)


Modified:
   branches/SAMBA_4_0/source/libcli/cliconnect.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/cliconnect.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/cliconnect.c	2005-01-24 00:57:14 UTC (rev 4951)
+++ branches/SAMBA_4_0/source/libcli/cliconnect.c	2005-01-24 01:04:15 UTC (rev 4952)
@@ -188,7 +188,6 @@
 	(*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);



More information about the samba-cvs mailing list