Re: [AD] A small bugfix in allegro_exit

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


> The list is seeded with loaders/savers for PCX/TGA/BMP/LBM. If you
> want others, you can add them with register_bitmap_format or similar.
> If you call allegro_exit, a cleanup function is called (through
> the exit func mechanism). This will destroy the list, and rebuild
> it with the default PCX/TGA/BMP/LBM formats. So it only removes the
> custom ones, leaving allocated memory for the default ones.

But isn't the destructor is readbmp.c supposed to delete what the constructor 
has added?

-- 
Eric Botcazou




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