mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
gui/infoviewer_bb.cpp: fix memleak, hddscale and sysscale was never deleted
Origin commit data
------------------
Branch: ni/coolstream
Commit: beb442680b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-26 (Tue, 26 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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