commit | 3caf4de6f05f68c3a175f4d8ce870d7a0016622a | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Sun Jun 02 21:52:49 2019 +0100 |
committer | GitHub <noreply@github.com> | Sun Jun 02 21:52:49 2019 +0100 |
tree | daf68abb7dce417d6a070281b5f1dcc31c6d2322 | |
parent | c0295dba259accc4b247beb22a0b2cc2f31d9850 [diff] |
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
diff --git a/Objects/structseq.c b/Objects/structseq.c index 3d857f7..2c25e16 100644 --- a/Objects/structseq.c +++ b/Objects/structseq.c
@@ -77,6 +77,7 @@ { Py_ssize_t i, size; PyTypeObject *tp; + PyObject_GC_UnTrack(obj); tp = (PyTypeObject *) Py_TYPE(obj); size = REAL_SIZE(obj);