diff --git a/lang/basic/src.old/util.c b/lang/basic/src.old/util.c index bf9fcad36..7ef314dc2 100644 --- a/lang/basic/src.old/util.c +++ b/lang/basic/src.old/util.c @@ -66,6 +66,7 @@ unsigned length; char *s,*c; extern char *malloc() ; s=c= malloc(length); + if ( !s ) fatal("Out of memory") ; while(length--)*c++ =0; return(s); }