diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-02-07 23:29:59 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-02-07 23:29:59 +0000 |
commit | a3237e0acf426698b4c08e0d107095ab11cb13a8 (patch) | |
tree | e75f0d6a54fd2fc11c619585dbcf7c78d300bcdc /numpy/core/src/ufuncobject.c | |
parent | aeaf38df7015f4650eed5aa3128f8e1716a68c61 (diff) | |
download | numpy-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.c | 1 |
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; } |