mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
CComponentsPicture: use clearCache() in destructor for unified handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e646734f3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-05 (Fri, 05 Feb 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -134,7 +134,7 @@ class CComponentsPicture : public CComponentsItem
|
|||||||
int transparent = CFrameBuffer::TM_NONE);
|
int transparent = CFrameBuffer::TM_NONE);
|
||||||
virtual~CComponentsPicture()
|
virtual~CComponentsPicture()
|
||||||
{
|
{
|
||||||
delete[]image_cache;
|
clearCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
///sets an image name (unscaled icons only), full image path or url to an image file
|
///sets an image name (unscaled icons only), full image path or url to an image file
|
||||||
|
Reference in New Issue
Block a user