[mythtv-commits] mythtv commit: r19584 by stuartm
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Jan 6 12:01:44 UTC 2009
Author: stuartm
Date: 2009-01-06 12:01:44 +0000 (Tue, 06 Jan 2009)
New Revision: 19584
Changeset: http://cvs.mythtv.org/trac/changeset/19584
Modified:
trunk/mythtv/libs/libmythui/mythimage.cpp
trunk/mythtv/libs/libmythui/mythuihelper.cpp
trunk/mythtv/libs/libmythui/mythuiimage.cpp
Log:
Change the reference counting on MythImage so that deletion occurs at zero, this means all owners of an image need to UpRef() even if they created the image but it's easier to avoid the ref count falling out of step that way. Prevents a memory growth in the image cache.
More information about the mythtv-commits
mailing list