CScanTs: add destructor to avoid leaks

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

View File

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