mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/motorcontrol.cpp: fix memleak - delete sig/snr scale in dtor
This commit is contained in:
@@ -72,8 +72,11 @@ CMotorControl::CMotorControl(int tnum)
|
|||||||
|
|
||||||
CMotorControl::~CMotorControl()
|
CMotorControl::~CMotorControl()
|
||||||
{
|
{
|
||||||
printf("CMotorControl::~CMotorControl\n");
|
printf("CMotorControl::~CMotorControl\n");
|
||||||
|
delete sigscale;
|
||||||
|
delete snrscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMotorControl::Init(void)
|
void CMotorControl::Init(void)
|
||||||
{
|
{
|
||||||
frameBuffer = CFrameBuffer::getInstance();
|
frameBuffer = CFrameBuffer::getInstance();
|
||||||
|
Reference in New Issue
Block a user