]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_winconsoleio: Fix memory leak (#2485)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 29 Jun 2017 08:53:34 +0000 (10:53 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2017 08:53:34 +0000 (10:53 +0200)
commit1d56ed5210babb68b5798cd943bb21f417e781ee
treebb5a847d67170f1c00f5663b97121bb49995ca2d
parentb78fbaaeab9df8cfbbdae3d5faf2d1537d73e43b
_winconsoleio: Fix memory leak (#2485)

Fix memory leak when _winconsoleio tries to open a non-console file:
free the name buffer.
Modules/_io/winconsoleio.c