summaryrefslogtreecommitdiff
path: root/numpy/core/src/ufuncobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-07-06 19:42:46 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-07-06 19:42:46 +0000
commite02d2e27677b932b90510b1b00d63d58b39e7ac4 (patch)
treedf10eda9636e66bab04522185e44811c30942485 /numpy/core/src/ufuncobject.c
parent3bbfa8af671843476dacf27f5f42006d9fd462fa (diff)
downloadnumpy-e02d2e27677b932b90510b1b00d63d58b39e7ac4.tar.gz
Remove un-necessary DECREF
Diffstat (limited to 'numpy/core/src/ufuncobject.c')
-rw-r--r--numpy/core/src/ufuncobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c
index f4c0ed805..36f48556d 100644
--- a/numpy/core/src/ufuncobject.c
+++ b/numpy/core/src/ufuncobject.c
@@ -902,7 +902,6 @@ select_types(PyUFuncObject *self, int *arg_types,
ret = _find_matching_userloop(obj, arg_types, scalars,
function, data, self->nargs,
self->nin);
- Py_DECREF(obj);
return ret;
}