New submission from Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp>:

Hello. I found several codes using PyMem_Free to free
allocated memory via PyUnicode_AsWideCharString.
In PyUnicode_AsWideCharString, memory is allocated
with PyMem_MALLOC. Is it OK to use PyMem_Free
not PyMem_FREE? Thank you.

----------
keywords: easy
messages: 119424
nosy: ocean-city
priority: normal
severity: normal
status: open
title: PyUnicode_AsWideCharString and PyMem_Free
type: resource usage
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to