https://github.com/python/cpython/commit/308ceffc6869e3c12665f1ffa68db09a70fb9b58 commit: 308ceffc6869e3c12665f1ffa68db09a70fb9b58 branch: main author: Jelle Zijlstra <jelle.zijls...@gmail.com> committer: lysnikolaou <lisandros...@gmail.com> date: 2025-05-09T09:10:52+02:00 summary:
gh-133581: Fix refleak in t-string AST unparsing (#133724) files: M Python/ast_unparse.c diff --git a/Python/ast_unparse.c b/Python/ast_unparse.c index ae623e0b4171f8..557c12cfda61ff 100644 --- a/Python/ast_unparse.c +++ b/Python/ast_unparse.c @@ -749,6 +749,7 @@ append_templatestr(PyUnicodeWriter *writer, expr_ty e) goto error; } } + _PyArena_Free(arena); return 0; _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com