Commit 404d8e89 authored by Benjamin Peterson's avatar Benjamin Peterson

crush other possible refleaks in this section

parent cda3a0db
......@@ -2100,6 +2100,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
PyErr_Format(PyExc_ValueError,
"%R in __slots__ conflicts with class variable",
tmp);
Py_DECREF(newslots);
goto bad_slots;
}
j++;
......
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