From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 9 May 2025 07:38:12 +0000 (+0200) Subject: [3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731) X-Git-Tag: v3.14.0b2~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92d56777a1edbbef48581178004c4835bc9fe41d;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731) Co-authored-by: Jelle Zijlstra --- 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;