From 7f31cd5d0ff6b2ab9126dfb103ec6e002f853149 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 26 May 2005 20:42:24 +0000 Subject: [PATCH] fix #1207803 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7224 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/python/pytuplehlp.swg | 1 + 1 file changed, 1 insertion(+) diff --git a/SWIG/Lib/python/pytuplehlp.swg b/SWIG/Lib/python/pytuplehlp.swg index 9df7ec611..ad96bfd32 100644 --- a/SWIG/Lib/python/pytuplehlp.swg +++ b/SWIG/Lib/python/pytuplehlp.swg @@ -19,6 +19,7 @@ t_output_helper(PyObject* target, PyObject* o) { PyList_SetItem(target, 0, o2); } PyList_Append(target,o); + Py_DECREF(o); } return target; }