summaryrefslogtreecommitdiff
path: root/source4/lib/wmi
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-07-24 12:00:21 -0700
committerJeremy Allison <jra@samba.org>2017-07-26 21:35:21 +0200
commitfe2ac3e304201d18ca15d388b622a4f15f72ad0a (patch)
treeafcbffa95aac93a541b106a3ca095b3c23d395fe /source4/lib/wmi
parent1c1fce74142f1ba982fee045cdb72938faabe5d5 (diff)
downloadsamba-fe2ac3e304201d18ca15d388b622a4f15f72ad0a.tar.gz
s4: COM: Remove talloc_autofree_context() from (unused) COM code.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/wmi')
-rw-r--r--source4/lib/wmi/wbemdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/wmi/wbemdata.c b/source4/lib/wmi/wbemdata.c
index 2aeda01a50e..df98da43a2a 100644
--- a/source4/lib/wmi/wbemdata.c
+++ b/source4/lib/wmi/wbemdata.c
@@ -432,11 +432,11 @@ struct composite_context *dcom_proxy_IEnumWbemClassObject_Release_send(struct IU
return c;
}
-NTSTATUS dcom_proxy_IWbemClassObject_init(void)
+NTSTATUS dcom_proxy_IWbemClassObject_init(TALLOC_CTX *ctx)
{
struct GUID clsid;
GUID_from_string("4590f812-1d3a-11d0-891f-00aa004b2e24", &clsid);
- dcom_register_marshal(&clsid, marshal, unmarshal);
+ dcom_register_marshal(ctx, &clsid, marshal, unmarshal);
#if 0
struct IEnumWbemClassObject_vtable *proxy_vtable;