]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
added wx(U)int64, then added it to wxDataStream so contrib should
[wxWidgets.git] / wxPython / src / helpers.cpp
index 187a0673c8945f22c987040483d24f8d6b6568de..9c4cb6ecdaacf3ef43843ffe41a52664a51e4601 100644 (file)
@@ -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;
 }