CScanTs: add destructor to avoid leaks

Origin commit data
------------------
Branch: ni/coolstream
Commit: c0a1b8690f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-06 16:59:13 +02:00
committed by Jacek Jendrzej
parent 8e2aeb7b4a
commit 9d3d1f4622
2 changed files with 7 additions and 0 deletions

View File

@@ -88,6 +88,12 @@ CScanTs::CScanTs()
snrscale->setBlink(); snrscale->setBlink();
} }
CScanTs::~CScanTs()
{
delete sigscale;
delete snrscale;
}
void CScanTs::prev_next_TP( bool up) void CScanTs::prev_next_TP( bool up)
{ {
t_satellite_position position = 0; t_satellite_position position = 0;

View File

@@ -83,6 +83,7 @@ class CScanTs : public CMenuTarget
public: public:
CScanTs(); CScanTs();
~CScanTs();
void hide(); void hide();
int exec(CMenuTarget* parent, const std::string & actionKey); int exec(CMenuTarget* parent, const std::string & actionKey);
}; };