1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #2133 from dforsi/fix/memleaks

Fix memleaks
This commit is contained in:
Edouard Griffiths 2024-06-03 17:58:13 +02:00 committed by GitHub
commit 523be287ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,7 @@ ChannelPowerSink::ChannelPowerSink(ChannelPower *channelPower) :
ChannelPowerSink::~ChannelPowerSink()
{
delete m_lowpassFFT;
}
void ChannelPowerSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end)

View File

@ -95,6 +95,7 @@ ChirpChatDemod::ChirpChatDemod(DeviceAPI* deviceAPI) :
ChirpChatDemod::~ChirpChatDemod()
{
delete m_networkManager;
m_deviceAPI->removeChannelSinkAPI(this);
m_deviceAPI->removeChannelSink(this);
stop();

View File

@ -2297,6 +2297,7 @@ void RadioAstronomyGUI::customContextMenuRequested(QPoint pos)
RadioAstronomyGUI::~RadioAstronomyGUI()
{
delete m_networkManager;
delete ui;
delete m_calHot;
delete m_calCold;

View File

@ -71,6 +71,7 @@ SatelliteSelectionDialog::SatelliteSelectionDialog(SatelliteTrackerSettings *set
SatelliteSelectionDialog::~SatelliteSelectionDialog()
{
delete m_networkManager;
delete ui;
}

View File

@ -73,6 +73,7 @@ SatelliteTracker::SatelliteTracker(WebAPIAdapterInterface *webAPIAdapterInterfac
SatelliteTracker::~SatelliteTracker()
{
delete m_networkManager;
stop();
qDeleteAll(m_satState);
}

View File

@ -274,6 +274,7 @@ SkyMapGUI::~SkyMapGUI()
m_webServer->close();
delete m_webServer;
}
delete m_webInterface;
delete ui;
}

View File

@ -57,6 +57,7 @@ AudioOutput::AudioOutput(DeviceAPI *deviceAPI) :
AudioOutput::~AudioOutput()
{
delete m_networkManager;
stop();
}

View File

@ -56,6 +56,7 @@ FileOutput::FileOutput(DeviceAPI *deviceAPI) :
FileOutput::~FileOutput()
{
delete m_networkManager;
stop();
}

View File

@ -131,6 +131,7 @@ TVScreenAnalog::TVScreenAnalog(QWidget *parent) :
TVScreenAnalog::~TVScreenAnalog()
{
cleanup();
delete m_backBuffer;
delete m_frontBuffer;
}