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
Next Next commit
Merge remote-tracking branch 'upstream/main' into fix/ubsan/io-111178
  • Loading branch information
picnixz committed Jan 25, 2025
commit 9cb97c233e70bf459a5eb2a0ff1399105a740f84
4 changes: 2 additions & 2 deletions Modules/_io/stringio.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,8 @@ stringio_dealloc(PyObject *op)
PyMem_Free(self->buf);
self->buf = NULL;
}
_PyUnicodeWriter_Dealloc(&self->writer);
(void)stringio_clear(op);
PyUnicodeWriter_Discard(self->writer);
(void)stringio_clear(self);
if (self->weakreflist != NULL) {
PyObject_ClearWeakRefs(op);
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.