Skip to content

Commit 7057e79

Browse files
committed
gh-133581: Fix refleak in AST unparsing
1 parent 6d5a8c2 commit 7057e79

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)