Fixed memory leak with --builtin (bug 3385089)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Stefan Zager 2011-08-22 23:33:17 +00:00
commit 86e1051a8b
2 changed files with 4 additions and 0 deletions

View file

@ -13,6 +13,7 @@ wrapper##_closure(PyObject *a) { \
PyObject *o = wrapper(a, NULL); \
Py_XDECREF(o); \
} \
PyObject_Del(a); \
}
#define SWIGPY_INQUIRY_CLOSURE(wrapper) \