diff --git a/src/gui/motorcontrol.cpp b/src/gui/motorcontrol.cpp index 4df5d3506..6334a1946 100644 --- a/src/gui/motorcontrol.cpp +++ b/src/gui/motorcontrol.cpp @@ -72,8 +72,11 @@ CMotorControl::CMotorControl(int tnum) CMotorControl::~CMotorControl() { -printf("CMotorControl::~CMotorControl\n"); + printf("CMotorControl::~CMotorControl\n"); + delete sigscale; + delete snrscale; } + void CMotorControl::Init(void) { frameBuffer = CFrameBuffer::getInstance();