From 6768cfe624fffef13109989e9cc79ccb4df13d19 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 30 Jul 2009 20:04:42 +0200 Subject: DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse/Pidl/Samba4') diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index d27192d6dd..462f8333e1 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1030,7 +1030,7 @@ sub ConvertObjectToPythonData($$$$$;$) error($location, "Unable to determine origin of type `" . mapTypeName($ctype) . "'"); return "NULL"; # FIXME! } - return "py_talloc_import_ex($ctype_name, $mem_ctx, $cvar)"; + return "py_talloc_reference_ex($ctype_name, $mem_ctx, $cvar)"; } fatal($location, "unknown type $actual_ctype->{TYPE} for ".mapTypeName($ctype) . ": $cvar"); -- cgit