From: Paul Eggert Date: Mon, 27 Oct 2003 07:12:11 +0000 (+0000) Subject: (alloca): xmalloc cannot return NULL, so don't test for that. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ebcf30ebc37012d2c110e009259ae46b88f6f5;p=pspp (alloca): xmalloc cannot return NULL, so don't test for that. --- diff --git a/lib/alloca.c b/lib/alloca.c index c4db187da5..5e2521b363 100644 --- a/lib/alloca.c +++ b/lib/alloca.c @@ -204,9 +204,6 @@ alloca (size_t size) new = xmalloc (combined_size); - if (new == 0) - abort(); - ((header *) new)->h.next = last_alloca_header; ((header *) new)->h.deep = depth;