Message276924
| Author |
vstinner |
| Recipients |
steve.dower, vstinner |
| Date |
2016年09月18日.22:56:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1474239398.07.0.0972680059215.issue28200@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Memory leak spotted by the issue #28195: path_converter() calls PyUnicode_AsWideCharString() which allocates a new buffer at each call, but this buffer is never released.
On Python 3.5, PyUnicode_AsWideCharString() was used which handles internally the memory buffer and so release the memory later.
Attached patch fixes the regression introduced in Python 3.6 beta 1 by the change e20c7d8a8187 ("Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529)"). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年09月18日 22:56:38 | vstinner | set | recipients:
+ vstinner, steve.dower |
| 2016年09月18日 22:56:38 | vstinner | set | messageid: <1474239398.07.0.0972680059215.issue28200@psf.upfronthosting.co.za> |
| 2016年09月18日 22:56:38 | vstinner | link | issue28200 messages |
| 2016年09月18日 22:56:37 | vstinner | create |
|