diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-02 12:56:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:10 -0500 |
commit | 68beb2f76f9973634f54e34a2d4628095baacd2e (patch) | |
tree | a78d7b5585e9c183e6f2bc8311b30100b44b5bab /source4/build | |
parent | f4b349127bdfe233476fe2efba961912f39a5cbd (diff) | |
download | samba-68beb2f76f9973634f54e34a2d4628095baacd2e.tar.gz samba-68beb2f76f9973634f54e34a2d4628095baacd2e.tar.bz2 samba-68beb2f76f9973634f54e34a2d4628095baacd2e.zip |
r4480: autofree the dcom proxy tables
(This used to be commit 973acf7bbdb7bd71f052aca15d0189f2e2069fd4)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/proxy.pm | 2 |
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"; |