gh-133581: Fix refleak in t-string AST unparsing (#133724)

This commit is contained in:
Jelle Zijlstra 2025-05-09 00:10:52 -07:00 committed by GitHub
parent 6801bd32cb
commit 308ceffc68
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;