[Python-checkins] [python/cpython] 31b950: bpo-30601: Fix a refleak in WindowsConsoleIO (#200...

GitHub noreply at github.com
Thu Jun 8 17:13:13 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 31b950ab86f5c99a18c16dbf1900b854b94e0659
      https://github.com/python/cpython/commit/31b950ab86f5c99a18c16dbf1900b854b94e0659
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-08 (Thu, 08 Jun 2017)

  Changed paths:
    M Modules/_io/winconsoleio.c

  Log Message:
  -----------
  bpo-30601: Fix a refleak in WindowsConsoleIO (#2003) (#2008)

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 29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c)




More information about the Python-checkins mailing list