diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-11-23 09:13:40 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-11-23 09:13:40 (GMT) |
commit | 39f59b089dde8c4badaa510dd47d6d93d5eaed3d (patch) | |
tree | 4b5aaeb5f2b479a161873c060cbfd16a2d591fb3 /Objects/obmalloc.c | |
parent | 19cf4ee69d414b3bf849cb2a4f00bfed70f1c76b (diff) | |
download | cpython-39f59b089dde8c4badaa510dd47d6d93d5eaed3d.zip cpython-39f59b089dde8c4badaa510dd47d6d93d5eaed3d.tar.gz cpython-39f59b089dde8c4badaa510dd47d6d93d5eaed3d.tar.bz2 |
Remove MALLOC_ZERO_RETURNS_NULL.
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r-- | Objects/obmalloc.c | 2 |
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); } |