Permalink
Browse files

Remove DECREF in userdef portion of ufuncobject.c because it is a bor…

…rowed reference.
  • Loading branch information...
1 parent aeaf38d commit a3237e0acf426698b4c08e0d107095ab11cb13a8 Travis Oliphant committed Feb 7, 2007
Showing with 0 additions and 1 deletion.
  1. +0 −1 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;
}

0 comments on commit a3237e0

Please sign in to comment.