mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
crush other possible refleaks in this section
This commit is contained in:
parent
3e6267e704
commit
d17cefc787
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue