From 9bbba12c48b5436cc96d22fe227ef2626112759d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 6 Apr 1994 16:33:51 +0000 Subject: Formerly malloc.c.~3~ --- libthreads/malloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libthreads') diff --git a/libthreads/malloc.c b/libthreads/malloc.c index 851d7c85..3ac15c97 100644 --- a/libthreads/malloc.c +++ b/libthreads/malloc.c @@ -248,7 +248,8 @@ realloc(old_base, new_size) char *new_base; if (old_base == 0) - return 0; + return malloc (new_size); + /* * Find size of old block. */ -- cgit v1.2.3