mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CScanTs: add destructor to avoid leaks
Conflicts: src/gui/scan.h
This commit is contained in:
committed by
[CST] Focus
parent
fcd65c2ce3
commit
5371fd6c90
@@ -86,6 +86,12 @@ CScanTs::CScanTs(int dtype)
|
||||
deltype = dtype;
|
||||
}
|
||||
|
||||
CScanTs::~CScanTs()
|
||||
{
|
||||
delete sigscale;
|
||||
delete snrscale;
|
||||
}
|
||||
|
||||
void CScanTs::prev_next_TP( bool up)
|
||||
{
|
||||
t_satellite_position position = 0;
|
||||
|
@@ -85,6 +85,7 @@ class CScanTs : public CMenuTarget
|
||||
|
||||
public:
|
||||
CScanTs(int dtype = FE_QPSK);
|
||||
~CScanTs();
|
||||
void hide();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
};
|
||||
|
Reference in New Issue
Block a user