Skip to content

bpo-30601: Fix a refleak in WindowsConsoleIO#2003

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:winconsoleio
Jun 8, 2017
Merged

bpo-30601: Fix a refleak in WindowsConsoleIO#2003
vstinner merged 1 commit intopython:masterfrom
vstinner:winconsoleio

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