This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients neologix, njs, pitrou, rhettinger, skrah, tim.peters, trent, vstinner, wscullin
Date 2017-10-23.19:11:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20171023191116.GA14537@bytereef.org>
In-reply-to <1508779013.57.0.213398074469.issue18835@psf.upfronthosting.co.za>
Content
On Mon, Oct 23, 2017 at 05:16:53PM +0000, STINNER Victor wrote:
> Memory allocated by PyMem_AlignedAlloc() must be freed with PyMem_AlignedFree().
> 
> We cannot reuse PyMem_Free(). On Windows, PyMem_AlignedAlloc() is implemented with _aligned_malloc() which requires to release the memory with _aligned_free().

Ah, too bad. Of course Windows does something different again. This weakens
my use case somewhat, but I guess it would still be nice to have the functions
(if you think it's maintainable).
History
Date User Action Args
2017-10-23 19:11:27skrahsetrecipients: + skrah, tim.peters, rhettinger, pitrou, vstinner, trent, njs, neologix, wscullin
2017-10-23 19:11:27skrahlinkissue18835 messages
2017-10-23 19:11:26skrahcreate