[3.14] gh-133581: Fix refleak in t-string AST unparsing (GH-133724) (#133731)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-05-09 09:38:12 +02:00 committed by GitHub
parent 47d4947823
commit 92d56777a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -749,6 +749,7 @@ append_templatestr(PyUnicodeWriter *writer, expr_ty e)
goto error;
}
}
_PyArena_Free(arena);
return 0;