summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-02 12:56:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:10 -0500
commit68beb2f76f9973634f54e34a2d4628095baacd2e (patch)
treea78d7b5585e9c183e6f2bc8311b30100b44b5bab
parentf4b349127bdfe233476fe2efba961912f39a5cbd (diff)
downloadsamba-68beb2f76f9973634f54e34a2d4628095baacd2e.tar.gz
samba-68beb2f76f9973634f54e34a2d4628095baacd2e.tar.bz2
samba-68beb2f76f9973634f54e34a2d4628095baacd2e.zip
r4480: autofree the dcom proxy tables
(This used to be commit 973acf7bbdb7bd71f052aca15d0189f2e2069fd4)
-rw-r--r--source4/build/pidl/proxy.pm2
1 files changed, 1 insertions, 1 deletions
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";