8000 gh-133581: Fix refleak in t-string AST unparsing (GH-133724) · miss-islington/cpython@f02c29d · GitHub
[go: up one dir, main page]

Skip to content

Commit f02c29d

Browse files
JelleZijlstramiss-islington
authored andcommitted
pythongh-133581: Fix refleak in t-string AST unparsing (pythonGH-133724)
(cherry picked from commit 308ceff) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 3937c78 commit f02c29d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/ast_unparse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ append_templatestr(PyUnicodeWriter *writer, expr_ty e)
749749
goto error;
750750
}
751751
}
752+
_PyArena_Free(arena);
752753

753754
return 0;
754755

0 commit comments

Comments
 (0)
0