]> granicus.if.org Git - python/commit
Make sure to call PyErr_NoMemory() in several places where
authorThomas Heller <theller@ctypes.org>
Mon, 30 Apr 2007 15:44:17 +0000 (15:44 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 30 Apr 2007 15:44:17 +0000 (15:44 +0000)
commit5a901bd3cc396b17645d0d4012faf63db9e3ab42
tree3ecb0415c2fbdfebdb002614109498c32d0a77d8
parent7a0da19087bfd5e01bcada885b4d0786749b99cf
Make sure to call PyErr_NoMemory() in several places where
PyMem_Malloc() could potentially fail.

Will backport to the release25-maint branch.
Modules/_ctypes/callproc.c
Modules/_ctypes/cfield.c
Modules/_ctypes/stgdict.c