[Python-checkins] [python/cpython] 1d56ed: _winconsoleio: Fix memory leak (#2485)

GitHub noreply at github.com
Thu Jun 29 04:53:35 EDT 2017


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

  Changed paths:
    M Modules/_io/winconsoleio.c

  Log Message:
  -----------
  _winconsoleio: Fix memory leak (#2485)

Fix memory leak when _winconsoleio tries to open a non-console file:
free the name buffer.




More information about the Python-checkins mailing list