From: Lisandro Dalcin Date: Sun, 20 Feb 2011 20:52:04 +0000 (-0300) Subject: quick fix previous commit (PySys_GetObject() returns borrowed ref) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8a62b05055c24d4e5e74a19854a9d9a9726b61a;p=cython.git quick fix previous commit (PySys_GetObject() returns borrowed ref) --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index ef0102ad..c363433b 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -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;