diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-06-02 20:52:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 20:52:49 (GMT) |
commit | 3caf4de6f05f68c3a175f4d8ce870d7a0016622a (patch) | |
tree | daf68abb7dce417d6a070281b5f1dcc31c6d2322 /Objects | |
parent | c0295dba259accc4b247beb22a0b2cc2f31d9850 (diff) | |
download | cpython-3caf4de6f05f68c3a175f4d8ce870d7a0016622a.zip cpython-3caf4de6f05f68c3a175f4d8ce870d7a0016622a.tar.gz cpython-3caf4de6f05f68c3a175f4d8ce870d7a0016622a.tar.bz2 |
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/structseq.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ structseq_dealloc(PyStructSequence *obj) { Py_ssize_t i, size; PyTypeObject *tp; + PyObject_GC_UnTrack(obj); tp = (PyTypeObject *) Py_TYPE(obj); size = REAL_SIZE(obj); |