https://github.com/python/cpython/commit/92d56777a1edbbef48581178004c4835bc9fe41d commit: 92d56777a1edbbef48581178004c4835bc9fe41d branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou <[email protected]> date: 2025-05-09T07:38:12Z summary:
[3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731) Co-authored-by: Jelle Zijlstra <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
