mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +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);
|
||||
virtual~CComponentsPicture()
|
||||
{
|
||||
delete[]image_cache;
|
||||
clearCache();
|
||||
}
|
||||
|
||||
///sets an image name (unscaled icons only), full image path or url to an image file
|
||||
|
Reference in New Issue
Block a user