mirror of
https://github.com/python/cpython.git
synced 2025-11-19 10:46:17 +00:00
bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759)
Fix memory leak in PyUnicode_EncodeLocale() and PyUnicode_EncodeFSDefault() on error handling. Changes: * Fix unicode_encode_locale() error handling * Fix test_codecs.LocaleCodecTest
This commit is contained in:
parent
a22df4896f
commit
bde9d6bbb4
3 changed files with 19 additions and 9 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Fix memory leak in :c:func:`PyUnicode_EncodeLocale` and
|
||||
:c:func:`PyUnicode_EncodeFSDefault` on error handling.
|
||||
Loading…
Add table
Add a link
Reference in a new issue