summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-11-17 18:45:17 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-11-17 18:45:17 +0000
commitc4a0dbf837cd66eb0d9691947c39d458ebd4f1b4 (patch)
tree414f51bbed17eee5b9bea83334790ef94425277d /numpy/core/src/arrayobject.c
parent6bd9d2feaf1253081867f822c03abbc1593b5652 (diff)
downloadnumpy-c4a0dbf837cd66eb0d9691947c39d458ebd4f1b4.tar.gz
Fix reference count problem with dtypes in vdot
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index a337aa176..cde69108e 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -10614,6 +10614,7 @@ arraydescr_dealloc(PyArray_Descr *self)
"an attempt was made to deallocate %d (%c) ***\n",
self->type_num, self->type);
Py_INCREF(self);
+ Py_INCREF(self);
return;
}
Py_XDECREF(self->typeobj);