summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-10 23:46:52 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-10 23:46:52 +0000
commit52c1871f6e840bb46bbd1df6f44501e896f73495 (patch)
tree2667d0e1ceb5409c3d5188eb313484cfc6efa0da /numpy/core/src
parent9024ff0dc052888b5922dde0f3e615607a9e99d7 (diff)
downloadnumpy-52c1871f6e840bb46bbd1df6f44501e896f73495.tar.gz
Fixed up segfault and error in r_
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarraymodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 8dbf1a6de..140f63305 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -1468,6 +1468,7 @@ PyArray_ConvertToCommonType(PyObject *op, int *retn)
PyArray_FromAny(otmp, intype, 0, 0, flags);
Py_DECREF(otmp);
Py_XDECREF(stype);
+ if (mps[i] == NULL) goto fail;
}
return mps;