From f02c29d06821a04e5c11744f8b25b62da7087dd2 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 9 May 2025 00:10:52 -0700 Subject: [PATCH] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (cherry picked from commit 308ceffc6869e3c12665f1ffa68db09a70fb9b58) 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 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; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy