mirror of https://github.com/python/cpython
crush other possible refleaks in this section
This commit is contained in:
parent
3e6267e704
commit
d17cefc787
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue