Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
reduce diff
  • Loading branch information
picnixz committed Dec 16, 2024
commit 766a4481130b5396c12c058edd3ba352cafc8c46
5 changes: 2 additions & 3 deletions Modules/_elementtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2511,12 +2511,11 @@ treebuilder_gc_clear(PyObject *op)
}

static void
treebuilder_dealloc(PyObject *op)
treebuilder_dealloc(PyObject *self)
{
TreeBuilderObject *self = _TreeBuilder_CAST(op);
PyTypeObject *tp = Py_TYPE(self);
PyObject_GC_UnTrack(self);
(void)treebuilder_gc_clear(op);
(void)treebuilder_gc_clear(self);
tp->tp_free(self);
Py_DECREF(tp);
}
Expand Down