From 255e619f2c0a947434b91e0e99a37e6a5d80e673 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 22 Jan 1994 02:12:32 +0000 Subject: Formerly malloc.c.~2~ --- libthreads/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libthreads/malloc.c') diff --git a/libthreads/malloc.c b/libthreads/malloc.c index b6a31c80..851d7c85 100644 --- a/libthreads/malloc.c +++ b/libthreads/malloc.c @@ -145,7 +145,7 @@ malloc(size) register free_list_t fl; register header_t h; - if ((int) size <= 0) /* sanity check */ + if ((int) size < 0) /* sanity check */ return 0; size += sizeof(union header); /* -- cgit v1.2.3