projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6d906
)
fix DECREF of borrowed reference
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 29 Oct 2007 18:35:57 +0000
(19:35 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 29 Oct 2007 18:35:57 +0000
(19:35 +0100)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 8526687be25cda941a0e537950ac65052af686e7..2ce7db91d343d88113ddf85c4f9e83a3021025db 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-1719,11
+1719,9
@@
static int __Pyx_ImportFunction(PyObject *module, char *funcname, void **f, char
goto bad;
}
*f = PyCObject_AsVoidPtr(cobj);
- Py_DECREF(cobj);
Py_DECREF(d);
return 0;
bad:
- Py_XDECREF(cobj);
Py_XDECREF(d);
return -1;
}