Skip to content

Commit 3caf4de

Browse files
authored
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
1 parent c0295db commit 3caf4de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/structseq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ structseq_dealloc(PyStructSequence *obj)
7777
{
7878
Py_ssize_t i, size;
7979
PyTypeObject *tp;
80+
PyObject_GC_UnTrack(obj);
8081

8182
tp = (PyTypeObject *) Py_TYPE(obj);
8283
size = REAL_SIZE(obj);

0 commit comments

Comments
 (0)