mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
gui/motorcontrol.cpp: fix memleak - delete sig/snr scale in dtor
Origin commit data
------------------
Branch: ni/coolstream
Commit: c5c3b0109a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-06 (Sun, 06 May 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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