From 6ac092bf38c0ac35a74500ce666e218133199f11 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 21 May 1987 10:10:27 +0000 Subject: [PATCH] core_alloc changed to old one --- util/led/memory.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/util/led/memory.c b/util/led/memory.c index 781c16248..acf8e5cc0 100644 --- a/util/led/memory.c +++ b/util/led/memory.c @@ -482,15 +482,8 @@ core_alloc(piece, size) { register ind_t off; - if ((off = alloc(piece, size)) == BADOFF) { - int sv = alloctype; - - alloctype = FORCED; - off = alloc(piece, size); - alloctype = sv; - if (off == BADOFF) - return (char *)0; - } + if ((off = alloc(piece, size)) == BADOFF) + return (char *)0; return address(piece, off); } -- 2.34.1