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

GitHub noreply at github.com
Thu Jun 8 12:19:27 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c
      https://github.com/python/cpython/commit/29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c
  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)

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




More information about the Python-checkins mailing list