mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Channel Analyzer NG: delete objects unconditionnally in destructor since they are created in the constructor
This commit is contained in:
parent
2dbb0b3253
commit
ae8eddbfda
@ -60,8 +60,8 @@ ChannelAnalyzerNG::ChannelAnalyzerNG(DeviceSourceAPI *deviceAPI) :
|
||||
|
||||
ChannelAnalyzerNG::~ChannelAnalyzerNG()
|
||||
{
|
||||
if (SSBFilter) delete SSBFilter;
|
||||
if (DSBFilter) delete DSBFilter;
|
||||
delete SSBFilter;
|
||||
delete DSBFilter;
|
||||
m_deviceAPI->removeChannelAPI(this);
|
||||
m_deviceAPI->removeThreadedSink(m_threadedChannelizer);
|
||||
delete m_threadedChannelizer;
|
||||
|
Loading…
Reference in New Issue
Block a user