summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src')
-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;
}