Skip to content

bpo-30601: Fix a refleak in WindowsConsoleIO #2003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2017
Merged

bpo-30601: Fix a refleak in WindowsConsoleIO #2003

merged 1 commit into from
Jun 8, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 8, 2017

Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder()
always initialize decodedname when it succeed and it doesn't clear
input decodedname object.

Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder()
always initialize decodedname when it succeed and it doesn't clear
input decodedname object.
@mention-bot
Copy link

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zooba, @benjaminp and @serhiy-storchaka to be potential reviewers.

@vstinner
Copy link
Member Author

vstinner commented Jun 8, 2017

cc @eryksun

@vstinner vstinner merged commit 29adc13 into python:master Jun 8, 2017
@vstinner vstinner deleted the winconsoleio branch June 8, 2017 16:19
vstinner added a commit that referenced this pull request Jun 8, 2017
Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder()
always initialize decodedname when it succeed and it doesn't clear
input decodedname object.
(cherry picked from commit 29adc13)
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.

3 participants