diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-11-17 18:45:17 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-11-17 18:45:17 +0000 |
commit | c4a0dbf837cd66eb0d9691947c39d458ebd4f1b4 (patch) | |
tree | 414f51bbed17eee5b9bea83334790ef94425277d /numpy/core/src/arrayobject.c | |
parent | 6bd9d2feaf1253081867f822c03abbc1593b5652 (diff) | |
download | numpy-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.c | 1 |
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); |