summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Objects/structseq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index 3d857f734b..2c25e1646a 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);