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,
|
PyErr_Format(PyExc_ValueError,
|
||||||
"%R in __slots__ conflicts with class variable",
|
"%R in __slots__ conflicts with class variable",
|
||||||
tmp);
|
tmp);
|
||||||
|
Py_DECREF(newslots);
|
||||||
goto bad_slots;
|
goto bad_slots;
|
||||||
}
|
}
|
||||||
j++;
|
j++;
|
||||||
|
|
Loading…
Reference in New Issue