summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index a72d05a..cd85657 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -688,10 +688,8 @@ redirect:
* last chance to serve the request) or when the max memory limit
* has been reached.
*/
-#ifdef MALLOC_ZERO_RETURNS_NULL
if (nbytes == 0)
nbytes = 1;
-#endif
return (void *)malloc(nbytes);
}