summaryrefslogtreecommitdiff
path: root/numpy/core/src/ufuncobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-02-07 23:29:59 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-02-07 23:29:59 +0000
commita3237e0acf426698b4c08e0d107095ab11cb13a8 (patch)
treee75f0d6a54fd2fc11c619585dbcf7c78d300bcdc /numpy/core/src/ufuncobject.c
parentaeaf38df7015f4650eed5aa3128f8e1716a68c61 (diff)
downloadnumpy-a3237e0acf426698b4c08e0d107095ab11cb13a8.tar.gz
Remove DECREF in userdef portion of ufuncobject.c because it is a borrowed reference.
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 515da3953..51c2c3fbc 100644
--- a/numpy/core/src/ufuncobject.c
+++ b/numpy/core/src/ufuncobject.c
@@ -815,7 +815,6 @@ extract_specified_loop(PyUFuncObject *self, int *arg_types,
}
funcdata = funcdata->next;
}
- Py_DECREF(obj);
PyErr_SetString(PyExc_TypeError, msg);
goto fail;
}