]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) (GH-10761)
authorVictor Stinner <vstinner@redhat.com>
Wed, 28 Nov 2018 11:42:40 +0000 (12:42 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 11:42:40 +0000 (12:42 +0100)
commit85ab974f78c0ebcfa611639864640d0273eb5466
tree55c61dd7d633361808ce94201d1d80d7cd8f84d0
parent80db40cdd6a58c9d66694a43ee9a7c06ab958373
bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) (GH-10761)

Fix memory leak in PyUnicode_EncodeLocale() and
PyUnicode_EncodeFSDefault() on error handling.

Fix unicode_encode_locale() error handling.

(cherry picked from commit bde9d6bbb46ca59bcee5d5060adaa33c3ffee3a6)
Misc/NEWS.d/next/C API/2018-11-28-03-20-36.bpo-35322.Qcqsag.rst [new file with mode: 0644]
Objects/unicodeobject.c