Commit a75191bb by Celine Mercier

Moved the print of an error so the program does not abort before it is

printed
parent 3cfbf8ba
......@@ -59,8 +59,8 @@ void *eco_realloc(void *chunk,
if (!newchunk)
{
fprintf(stderr,"Requested memory : %d\n",newsize);
ecoError(ECO_MEM_ERROR,error_message,filename,line);
fprintf(stderr,"Requested memory : %d\n",newsize);
}
if (!chunk)
eco_chunk_malloc++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment