]> granicus.if.org Git - python/commit
Fix usage of PyMem_Malloc() in overlapped.c
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 16 Mar 2016 22:25:02 +0000 (23:25 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 16 Mar 2016 22:25:02 +0000 (23:25 +0100)
commit13be7db34c698010d2a10e7ebbb1503f3495b20c
treee6acfdd2c615a6c145ebb45bd0b07d27cbca8491
parent2025d7839b1d0c5c3cc83601568f16177b1d85b0
Fix usage of PyMem_Malloc() in overlapped.c

Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since
PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new
C thread which doesn't hold the GIL.
Modules/overlapped.c