mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user