Browse Source

crush other possible refleaks in this section

pull/2332/head
Benjamin Peterson 15 years ago
parent
commit
d17cefc787
  1. 1
      Objects/typeobject.c

1
Objects/typeobject.c

@ -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…
Cancel
Save