diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-02 13:04:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:10 -0500 |
commit | fe07db9ca736d130a77c673d5b716365a39f289e (patch) | |
tree | 83c18a467996f02f9c24d98bde05a41a79630c64 /source4 | |
parent | 68beb2f76f9973634f54e34a2d4628095baacd2e (diff) | |
download | samba-fe07db9ca736d130a77c673d5b716365a39f289e.tar.gz samba-fe07db9ca736d130a77c673d5b716365a39f289e.tar.bz2 samba-fe07db9ca736d130a77c673d5b716365a39f289e.zip |
r4481: get rid of the last leak
(This used to be commit 52de02b2c31eefac75ce0582ed8acae8007e7cc2)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/dcom/classes/simple.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/dcom/classes/simple.c b/source4/lib/dcom/classes/simple.c index e8b8730267..90dda6bc84 100644 --- a/source4/lib/dcom/classes/simple.c +++ b/source4/lib/dcom/classes/simple.c @@ -32,7 +32,9 @@ NTSTATUS dcom_simple_init(void) GUID_from_string(DCERPC_IUNKNOWN_UUID, &iid); - simple_class.class_object = dcom_new_local_ifacep(NULL, dcom_interface_by_iid(&iid), &simple_classobject, NULL); + simple_class.class_object = dcom_new_local_ifacep(talloc_autofree_context(), + dcom_interface_by_iid(&iid), + &simple_classobject, NULL); GUID_from_string("5e9ddec7-5767-11cf-beab-00aa006c3606", &simple_class.clsid); return dcom_register_class(&simple_class); |