Commit 3bd77126 authored by Raymond Hettinger's avatar Raymond Hettinger

One too many decrefs.

parent 93e804da
...@@ -1794,10 +1794,8 @@ product_new(PyTypeObject *type, PyObject *args, PyObject *kwds) ...@@ -1794,10 +1794,8 @@ product_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
/* create productobject structure */ /* create productobject structure */
lz = (productobject *)type->tp_alloc(type, 0); lz = (productobject *)type->tp_alloc(type, 0);
if (lz == NULL) { if (lz == NULL)
Py_DECREF(pools);
goto error; goto error;
}
lz->pools = pools; lz->pools = pools;
lz->maxvec = maxvec; lz->maxvec = maxvec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment