https://github.com/python/cpython/commit/308ceffc6869e3c12665f1ffa68db09a70fb9b58
commit: 308ceffc6869e3c12665f1ffa68db09a70fb9b58
branch: main
author: Jelle Zijlstra <[email protected]>
committer: lysnikolaou <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]