Re: [AD] ASSERT() missing !

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> /allegro417/src/win/wsystem.c(line 461)
>
>     argbuf = malloc(i);
>     memcpy(argbuf, cmdline, i);
>
> can we have an ASSERT()  or at least a check to see that the malloc was
> successful.

The latter is better.

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/