[Python-checkins] Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
Pablo Galindo
webhook-mailer at python.org
Sun Jun 2 16:52:53 EDT 2019
https://github.com/python/cpython/commit/3caf4de6f05f68c3a175f4d8ce870d7a0016622a
commit: 3caf4de6f05f68c3a175f4d8ce870d7a0016622a
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: GitHub <noreply at github.com>
date: 2019-06-02T21:52:49+01:00
summary:
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
files:
M Objects/structseq.c
diff --git a/Objects/structseq.c b/Objects/structseq.c
index 3d857f734be8..2c25e1646a2a 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);
More information about the Python-checkins
mailing list