Re: [AD] Patch to unregister switch bitmap in src/graphics.c (4.3.10)

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


Colin Ward wrote:
*BUMP*

Did this message originally get through?

yea.. but its only been less than 2 days now.. I'm sure someone will read it.
On 29/09/2008, you wrote:

Hi all.

Resending this as it didn't seem to get through this morning.

When a client program calls set_gfx_mode(), it ends up calling
_set_gfx_mode(), which adds the bitmap created to represent the screen
to a list of "switch" bitmaps.  But it never removes it, which results
in a memory leak.  Please find attached a patch to remove this bitmap
from the "switch" list in shutdown_gfx().

Regards





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