Re: [AD] gfxtest locks up with 4.0.0 + watcom

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


hstokset@xxxxxxxxxx wrote:
> Attached is an UNTESTED patch which aims to fix
> several potential memory leaks and fix this particular problem.

It works now, thanks! I agree with Eric's comment about error checking,
though in this case, why can't we just do

   AF_MODE_INFO mode;
   ...
   foo(&mode);
   ...
   bar = mode.x;

etc?

>    vbeaf_humiliation_fix.diff

It's not _that_ bad :-)

-- 
Sven Sandberg    svsa1977@xxxxxxxxxx    home.student.uu.se/svsa1977



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