Staging
v0.5.1
https://github.com/python/cpython
Revision 106c1df736d38f5b411a8571b97275d0ecf1d0a9 authored by Miss Islington (bot) on 04 September 2020, 22:56:04 UTC, committed by GitHub on 04 September 2020, 22:56:04 UTC

Free the stack allocated in va_build_stack if do_mkstack fails
and the stack is not a small_stack
(cherry picked from commit 75c80b0bda89debf312f075716b8c467d411f90e)

Co-authored-by: Tony Solomonik <tony.solomonik@gmail.com>
1 parent 8ed1c17
History
Tip revision: 106c1df736d38f5b411a8571b97275d0ecf1d0a9 authored by Miss Islington (bot) on 04 September 2020, 22:56:04 UTC
closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847)
Tip revision: 106c1df
File Mode Size
darwin
libffi_osx
_ctypes.c -rw-r--r-- 186.0 KB
_ctypes_test.c -rw-r--r-- 21.6 KB
_ctypes_test.h -rw-r--r-- 82 bytes
callbacks.c -rw-r--r-- 17.3 KB
callproc.c -rw-r--r-- 55.4 KB
cfield.c -rw-r--r-- 42.9 KB
ctypes.h -rw-r--r-- 12.9 KB
ctypes_dlfcn.h -rw-r--r-- 459 bytes
malloc_closure.c -rw-r--r-- 2.8 KB
stgdict.c -rw-r--r-- 31.3 KB

back to top