Bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1306,7 +1306,7 @@ PyObject* wxArrayString2PyList_helper(const wxArrayString& arr) {
|
||||
for (size_t i=0; i < arr.GetCount(); i++) {
|
||||
PyObject* str = PyString_FromString(arr[i].c_str());
|
||||
PyList_Append(list, str);
|
||||
// TODO: Check refcount on str...
|
||||
Py_DECREF(str);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
Reference in New Issue
Block a user