fix #1207803
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
660b1965ce
commit
7f31cd5d0f
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ t_output_helper(PyObject* target, PyObject* o) {
|
||||||
PyList_SetItem(target, 0, o2);
|
PyList_SetItem(target, 0, o2);
|
||||||
}
|
}
|
||||||
PyList_Append(target,o);
|
PyList_Append(target,o);
|
||||||
|
Py_DECREF(o);
|
||||||
}
|
}
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue