[mythtv-commits] mythtv/master commit: 612469827 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Tue Jun 7 02:46:28 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-06-06T19:46:04-07:00
   Push Date:  2011/06/06 19:46:21 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  612469827c34e7dc02fa026c10f646472b6fa4dd
   Changeset:  https://github.com/MythTV/mythtv/commit/612469827

Log:

libmythui: Fix a leak (flood) in MythPainter.

The software cache size was never increased as the images hadn't been
created when we queried their size - and hence nothing was ever removed
from the software cache.

There will still be reports of un-allocated images in the MythPainter
destructor. These are the main OSD window images that are still being
held by the main UI image cache. Not yet sure of the best approach with
those - I don't really want to leave them hanging.

Refs #9707.

Modified:

   mythtv/libs/libmythui/mythpainter.cpp



More information about the mythtv-commits mailing list