Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 28, 2018

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

Changes:

  • Fix unicode_encode_locale() error handling
  • Fix test_codecs.LocaleCodecTest

https://bugs.python.org/issue34523

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

Changes:

* Fix unicode_encode_locale() error handling
* Fix test_codecs.LocaleCodecTest
@vstinner vstinner merged commit bde9d6b into python:master Nov 28, 2018
vstinner added a commit that referenced this pull request Nov 28, 2018
Fix memory leak in PyUnicode_EncodeLocale() and
PyUnicode_EncodeFSDefault() on error handling.

Fix unicode_encode_locale() error handling.

(cherry picked from commit bde9d6b)
@vstinner vstinner deleted the unicode_encode_locale branch April 29, 2019 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants