fixed extra reference bug
This commit is contained in:
@@ -55,6 +55,7 @@ static PyObject *clusterize(PyObject *self, PyObject *args,
|
|||||||
if (nc != size) {
|
if (nc != size) {
|
||||||
PyErr_SetString(PyExc_TypeError, "Parsed wrong size array!");
|
PyErr_SetString(PyExc_TypeError, "Parsed wrong size array!");
|
||||||
}
|
}
|
||||||
|
Py_DECREF(cl_array);
|
||||||
return cl_analysis;
|
return cl_analysis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user