Skip to content

Commit 92d5677

Browse files
[3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 47d4947 commit 92d5677

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)