summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";