diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-08-20 12:44:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 12:44:32 (GMT) |
commit | 30e5aff5fb0e3841107ddd4539a1f5b8521c80fb (patch) | |
tree | 463641e4d6ba2e703ee29483fda11920aa01a604 /Python/future.c | |
parent | 1271ee8187df31debda7c556882a51ec356ca534 (diff) | |
download | cpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.zip cpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.tar.gz cpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.tar.bz2 |
bpo-37732: Fix GCC warning in _PyObject_Malloc() (GH-15333) (GH-15342)
pymalloc_alloc() now returns directly the pointer, return NULL on
memory allocation error.
allocate_from_new_pool() already uses NULL as marker for "allocation
failed".
(cherry picked from commit 18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0)
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions