infoviewer_bb: delete progressbars in destructor

Origin commit data
------------------
Commit: 009f82fca4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-31 (Wed, 31 Oct 2012)
This commit is contained in:
Stefan Seyfried
2012-10-31 22:56:08 +01:00
parent 151bb79b28
commit c43e3bbd3e

View File

@@ -88,13 +88,13 @@ CInfoViewerBB::CInfoViewerBB()
#endif
hddperT = 0;
hddperTflag = false;
hddscale = NULL;
sysscale = NULL;
Init();
}
void CInfoViewerBB::Init()
{
hddscale = NULL;
sysscale = NULL;
hddwidth = 0;
bbIconMaxH = 0;
bbButtonMaxH = 0;
@@ -123,6 +123,10 @@ CInfoViewerBB::~CInfoViewerBB()
pthread_cancel(hddperT);
hddperT = 0;
}
if (hddscale)
delete hddscale;
if (sysscale)
delete sysscale;
}
CInfoViewerBB* CInfoViewerBB::getInstance()