[mythtv] [patch] Fix for memory-leak in mythgallery

Isaac Richards ijr at po.cwru.edu
Sat Nov 20 05:48:25 UTC 2004

On Tuesday 16 November 2004 06:53 am, Julian Scheel wrote:
> Attached is a patch, which fixes a memory-leak in mythgallery's
> OpenGL-Slideshow.
> In loadImage() it's checked if there's a old texture, which should be
> deleted,
> but it's only deleted every 2nd time because for the number of textures, to
> be deleted a is used, which changes between 0 and 1 every run.
> It should be 1 all the time, because t.tex points always to the a-th
> texture
> in m_texItem.

Applied to CVS, thanks. 


More information about the mythtv-dev mailing list