Set errno = ENOMEM on faild countcheck().
This commit is contained in:
@@ -95,6 +95,7 @@ static bool countcheck(const char *func, int line, const char *source)
|
||||
if(source)
|
||||
fprintf(stderr, "LIMIT %s:%d %s reached memlimit\n",
|
||||
source, line, func);
|
||||
errno = ENOMEM;
|
||||
return TRUE; /* RETURN ERROR! */
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user