From 92d56777a1edbbef48581178004c4835bc9fe41d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 9 May 2025 09:38:12 +0200 Subject: [PATCH] [3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731) Co-authored-by: Jelle Zijlstra --- Python/ast_unparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/ast_unparse.c b/Python/ast_unparse.c index ae623e0b4171..557c12cfda61 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; -- 2.47.3