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
]
- To: Coordination of admins/developers of th <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Patch to unregister switch bitmap in src/graphics.c (4.3.10)
- From: Colin Ward <lists@xxxxxxxxxx>
- Date: Wed, 01 Oct 2008 07:26:36 +0100
- Organization: Code HQ
*BUMP*
Did this message originally get through?
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
--
/-------------------------------------------------------------------\
[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2 ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne ]
[Assembly Language: The most fun you can have with your clothes on! ]
\-------------------------------------------------------------------/