]> granicus.if.org Git - python/commit
Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 14:21:41 +0000 (16:21 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 7 Jul 2013 14:21:41 +0000 (16:21 +0200)
commitb64049183cee61edc112eefa3ca76916d03e9f02
treefd0be14ac288739314a5108c6e21879f641b0b40
parent1a7425f67a0d141483d89ca80ca01e3cb7f6be92
Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules

Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
Modules/_curses_panel.c
Modules/_cursesmodule.c
Modules/_lsprof.c
Modules/_ssl.c
Modules/audioop.c
Modules/posixmodule.c
Modules/pyexpat.c
Modules/readline.c
Modules/zlibmodule.c
PC/winreg.c