Browse Source

Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)

pull/13754/head
Pablo Galindo 7 years ago
committed by GitHub
parent
commit
3caf4de6f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Objects/structseq.c

1
Objects/structseq.c

@ -77,6 +77,7 @@ structseq_dealloc(PyStructSequence *obj)
{
Py_ssize_t i, size;
PyTypeObject *tp;
PyObject_GC_UnTrack(obj);
tp = (PyTypeObject *) Py_TYPE(obj);
size = REAL_SIZE(obj);

Loading…
Cancel
Save