summaryrefslogtreecommitdiff
path: root/source4/pidl/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-13 21:23:12 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-14 19:53:05 +0100
commit41057618f890b9053dce9cd671d11db7af7d3612 (patch)
treefc0544cb15dffea44b5fa70f6201cb513009e0b9 /source4/pidl/lib
parent23c2facc8203c005b603163fc0ac67eda4240b4e (diff)
downloadsamba-41057618f890b9053dce9cd671d11db7af7d3612.tar.gz
samba-41057618f890b9053dce9cd671d11db7af7d3612.tar.bz2
samba-41057618f890b9053dce9cd671d11db7af7d3612.zip
pidl/python: Remove unnecessary talloc_free().
(This used to be commit a099d30067a4d965a283f52e56ffd1897137bf1a)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
index cea3889938..93a6161ce4 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -196,7 +196,7 @@ sub PythonStruct($$$$)
if ($e->{ORIGINAL}->{POINTERS} > 0) {
$self->pidl("talloc_free($varname);");
}
- $self->ConvertObjectFromPython("mem_ctx", $e->{TYPE}, "value", $varname, "talloc_free(mem_ctx); return -1;");
+ $self->ConvertObjectFromPython("mem_ctx", $e->{TYPE}, "value", $varname, "return -1;");
$self->pidl("return 0;");
$self->deindent;
$self->pidl("}");