quick fix previous commit (PySys_GetObject() returns borrowed ref)
authorLisandro Dalcin <dalcinl@gmail.com>
Sun, 20 Feb 2011 20:52:04 +0000 (17:52 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Sun, 20 Feb 2011 20:52:04 +0000 (17:52 -0300)
Cython/Compiler/ModuleNode.py

index ef0102adff0e29dc7d0fee75f8a5d9f249deabc9..c363433b0ec424cf615c7e1ce83352ff9cb84298 100644 (file)
@@ -2884,7 +2884,6 @@ static int __Pyx_check_binary_version(void) {
         res = 1;
     }
 bad:
-    Py_XDECREF(version_info);
     Py_XDECREF(major_info);
     Py_XDECREF(minor_info);
     return res;