diff --git a/src/gui/scan.cpp b/src/gui/scan.cpp index 63474622a..3135a2492 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -79,6 +79,12 @@ CScanTs::CScanTs() snrscale->setBlink(); } +CScanTs::~CScanTs() +{ + delete sigscale; + delete snrscale; +} + void CScanTs::prev_next_TP( bool up) { t_satellite_position position = 0; diff --git a/src/gui/scan.h b/src/gui/scan.h index a9e97f688..2df4d565d 100644 --- a/src/gui/scan.h +++ b/src/gui/scan.h @@ -83,6 +83,7 @@ class CScanTs : public CMenuTarget public: CScanTs(); + ~CScanTs(); void hide(); int exec(CMenuTarget* parent, const std::string & actionKey); };