]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/filesys.i
documented fs_zip bugfix
[wxWidgets.git] / wxPython / src / filesys.i
index 7fc6c420c60a2eb01455e534606967c0d72a2966..99df7c6049c66853198cb6fe495ef057d86526d8 100644 (file)
@@ -75,7 +75,9 @@
 //              Py_DECREF(arg);
 
 //              // set ThisOwn
-//              PyObject_SetAttrString($target, "thisown", PyInt_FromLong(1));
+//              PyObject* one = PyInt_FromLong(1);
+//              PyObject_SetAttrString($target, "thisown", one);
+//              Py_DECREF(one);
 //          }
 //      } else {
 //          Py_INCREF(Py_None);