svn commit: samba r4480 - in branches/SAMBA_4_0/source/build/pidl: .

tridge at samba.org tridge at samba.org
Sun Jan 2 12:56:24 GMT 2005


Author: tridge
Date: 2005-01-02 12:56:21 +0000 (Sun, 02 Jan 2005)
New Revision: 4480

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

Log:
autofree the dcom proxy tables

Modified:
   branches/SAMBA_4_0/source/build/pidl/proxy.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/proxy.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/proxy.pm	2005-01-02 12:55:33 UTC (rev 4479)
+++ branches/SAMBA_4_0/source/build/pidl/proxy.pm	2005-01-02 12:56:21 UTC (rev 4480)
@@ -64,7 +64,7 @@
 	$res.= "
 	iface.num_methods = DCERPC_" . (uc $interface->{NAME}) . "_CALL_COUNT;
 	GUID_from_string(DCERPC_" . (uc $interface->{NAME}) . "_UUID, &iface.iid);
-	iface.proxy_vtable = talloc_memdup(NULL, &proxy, sizeof(struct dcom_$interface->{NAME}_vtable));
+	iface.proxy_vtable = talloc_memdup(talloc_autofree_context(), &proxy, sizeof(struct dcom_$interface->{NAME}_vtable));
 
 	return dcom_register_interface(&iface);
 }\n\n";



More information about the samba-cvs mailing list