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:
2016-02-05 23:36:19 +01:00
parent c789dffebe
commit 79c713928f

View File

@@ -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