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

8000
Skip to content

Commit 308ceff

Browse files
pythongh-133581: Fix refleak in t-string AST unparsing (python#133724)
1 parent 6801bd3 commit 308ceff

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