git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b3491
)
r4480: autofree the dcom proxy tables
author
Andrew Tridgell
<tridge@samba.org>
Sun, 2 Jan 2005 12:56:21 +0000
(12:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:08:10 +0000
(13:08 -0500)
(This used to be commit
973acf7bbdb7bd71f052aca15d0189f2e2069fd4
)
source4/build/pidl/proxy.pm
patch
|
blob
|
history
diff --git
a/source4/build/pidl/proxy.pm
b/source4/build/pidl/proxy.pm
index 7d37c04471709a3ffa93e7c52b9f7c8226ca3a2f..3dd569a814efa3b45f03c4438bcbf67a29a694e5 100644
(file)
--- 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";