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:
parent
e82f320510
commit
86e1051a8b
2 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.5 (in progress)
|
||||
===========================
|
||||
|
||||
2011-08-22: szager
|
||||
[python] Fixed memory leak with --builtin option (bug 3385089).
|
||||
|
||||
2011-08-22: wsfulton
|
||||
[Lua] SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing
|
||||
the module table into the global namespace. Require call also returns the module table instead
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ wrapper##_closure(PyObject *a) { \
|
|||
PyObject *o = wrapper(a, NULL); \
|
||||
Py_XDECREF(o); \
|
||||
} \
|
||||
PyObject_Del(a); \
|
||||
}
|
||||
|
||||
#define SWIGPY_INQUIRY_CLOSURE(wrapper) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue