Kaydet (Commit) 3bd77126 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

One too many decrefs.

üst 93e804da
......@@ -1794,10 +1794,8 @@ product_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
/* create productobject structure */
lz = (productobject *)type->tp_alloc(type, 0);
if (lz == NULL) {
Py_DECREF(pools);
if (lz == NULL)
goto error;
}
lz->pools = pools;
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