summaryrefslogtreecommitdiffstats
path: root/Misc/coverity_model.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-20 11:28:02 (GMT)
committerGitHub <noreply@github.com>2019-08-20 11:28:02 (GMT)
commit18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0 (patch)
tree28e3d495d28e40cdb7189da7297d427f9d7d095f /Misc/coverity_model.c
parentb0f4dab8735f692bcfedcf0fa9a25e238a554bab (diff)
downloadcpython-18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0.zip
cpython-18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0.tar.gz
cpython-18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0.tar.bz2
bpo-37732: Fix GCC warning in _PyObject_Malloc() (GH-15333)
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".
Diffstat (limited to 'Misc/coverity_model.c')
0 files changed, 0 insertions, 0 deletions