mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
gui/infoviewer_bb.cpp: fix memleak, hddscale and sysscale was never deleted
This commit is contained in:
@@ -87,14 +87,14 @@ CInfoViewerBB::CInfoViewerBB()
|
|||||||
bbIconInfo[0].h = 0;
|
bbIconInfo[0].h = 0;
|
||||||
BBarY = 0;
|
BBarY = 0;
|
||||||
BBarFontY = 0;
|
BBarFontY = 0;
|
||||||
|
hddscale = NULL;
|
||||||
|
sysscale = NULL;
|
||||||
|
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInfoViewerBB::Init()
|
void CInfoViewerBB::Init()
|
||||||
{
|
{
|
||||||
hddscale = NULL;
|
|
||||||
sysscale = NULL;
|
|
||||||
hddwidth = 0;
|
hddwidth = 0;
|
||||||
bbIconMaxH = 0;
|
bbIconMaxH = 0;
|
||||||
bbButtonMaxH = 0;
|
bbButtonMaxH = 0;
|
||||||
|
Reference in New Issue
Block a user