summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-03-15 11:36:26 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-03-15 11:36:26 +0000
commit5a712837f673a194353113ebad72d5050ad1f68f (patch)
treef1045ea804e384c86626d3c7533ef8a4d61645f4 /numpy/core/src
parent75f139dacec2845ed18424bb65efbed3280fd0b2 (diff)
downloadnumpy-5a712837f673a194353113ebad72d5050ad1f68f.tar.gz
Fix bug when setting uic to False.
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 9d5dc2e75..8c5edc9c2 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -1539,7 +1539,7 @@ array_setflags(PyArrayObject *self, PyObject *args, PyObject *kwds)
}
else {
self->flags &= ~UPDATEIFCOPY;
- Py_DECREF(self->base);
+ Py_XDECREF(self->base);
self->base = NULL;
}
}