mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
pidl/python: Remove unnecessary talloc_free().
(This used to be commit a099d30067
)
This commit is contained in:
parent
23c2facc82
commit
41057618f8
@ -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("}");
|
||||
|
Loading…
Reference in New Issue
Block a user