mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CComponentsPicture: use clearCache() in destructor for unified handling
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