aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/malloc.c')
-rw-r--r--gcc/f/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/f/malloc.c b/gcc/f/malloc.c
index b0d31af..032c2bf 100644
--- a/gcc/f/malloc.c
+++ b/gcc/f/malloc.c
@@ -140,8 +140,7 @@ malloc_init ()
{
if (malloc_reserve_ != NULL)
return;
- malloc_reserve_ = malloc (20 * 1024); /* In case of crash, free this first. */
- assert (malloc_reserve_ != NULL);
+ malloc_reserve_ = xmalloc (20 * 1024); /* In case of crash, free this first. */
}
/* malloc_pool_display -- Display a pool