[issue29034] refleak in path_converter on error case

STINNER Victor report at bugs.python.org
Wed Dec 21 05:44:13 EST 2016


STINNER Victor added the comment:

Oh crap, memory leaks on Windows are rarely checked. I recall that I found a huge memory leak on Windows just before Python 3.6 beta 1 release:

changeset:   103956:6232e610e310
branch:      3.6
parent:      103954:c1d9052996f1
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Sep 19 11:55:44 2016 +0200
files:       Misc/NEWS Modules/posixmodule.c
description:
Fix memory leak in path_converter()

Issue #28200: Replace PyUnicode_AsWideCharString() with
PyUnicode_AsUnicodeAndSize().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29034>
_______________________________________


More information about the Python-bugs-list mailing list