From 68beb2f76f9973634f54e34a2d4628095baacd2e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 Jan 2005 12:56:21 +0000 Subject: r4480: autofree the dcom proxy tables (This used to be commit 973acf7bbdb7bd71f052aca15d0189f2e2069fd4) --- source4/build/pidl/proxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/pidl/proxy.pm b/source4/build/pidl/proxy.pm index 7d37c04471..3dd569a814 100644 --- a/source4/build/pidl/proxy.pm +++ b/source4/build/pidl/proxy.pm @@ -64,7 +64,7 @@ sub ParseRegFunc($) $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"; -- cgit