From b8a62b05055c24d4e5e74a19854a9d9a9726b61a Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Sun, 20 Feb 2011 17:52:04 -0300 Subject: [PATCH] quick fix previous commit (PySys_GetObject() returns borrowed ref) --- Cython/Compiler/ModuleNode.py | 1 - 1 file changed, 1 deletion(-) 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; -- 2.26.2