mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Fix memleaks of QNetworkAccessManager()
Frees memory allocated in AudioOutputPlugin::createSampleSinkPluginInstance(QString const&, DeviceAPI*) /home//sdrangel/plugins/samplesink/audiooutput/audiooutputplugin.cpp:136 in ChirpChatDemod::ChirpChatDemod(DeviceAPI*) /home/sdrangel/plugins/channelrx/demodchirpchat/chirpchatdemod.cpp:84 in FileOutput::FileOutput(DeviceAPI*) /home/sdrangel/plugins/samplesink/fileoutput/fileoutput.cpp:54 in RadioAstronomyGUI::RadioAstronomyGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) /home/sdrangel/plugins/channelrx/radioastronomy/radioastronomygui.cpp:2061 in SatelliteSelectionDialog::SatelliteSelectionDialog(SatelliteTrackerSettings*, QHash<QString, SatNogsSatellite*> const&, QWidget*) /home/sdrangel/plugins/feature/satellitetracker/satelliteselectiondialog.cpp:42:24 in SatelliteTracker::SatelliteTracker(WebAPIAdapterInterface*) /home/sdrangel/plugins/feature/satellitetracker/satellitetracker.cpp:61:24
This commit is contained in:
parent
302f99382a
commit
cf0e129165
@ -95,6 +95,7 @@ ChirpChatDemod::ChirpChatDemod(DeviceAPI* deviceAPI) :
|
||||
|
||||
ChirpChatDemod::~ChirpChatDemod()
|
||||
{
|
||||
delete m_networkManager;
|
||||
m_deviceAPI->removeChannelSinkAPI(this);
|
||||
m_deviceAPI->removeChannelSink(this);
|
||||
stop();
|
||||
|
@ -2297,6 +2297,7 @@ void RadioAstronomyGUI::customContextMenuRequested(QPoint pos)
|
||||
|
||||
RadioAstronomyGUI::~RadioAstronomyGUI()
|
||||
{
|
||||
delete m_networkManager;
|
||||
delete ui;
|
||||
delete m_calHot;
|
||||
delete m_calCold;
|
||||
|
@ -71,6 +71,7 @@ SatelliteSelectionDialog::SatelliteSelectionDialog(SatelliteTrackerSettings *set
|
||||
|
||||
SatelliteSelectionDialog::~SatelliteSelectionDialog()
|
||||
{
|
||||
delete m_networkManager;
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
@ -73,6 +73,7 @@ SatelliteTracker::SatelliteTracker(WebAPIAdapterInterface *webAPIAdapterInterfac
|
||||
|
||||
SatelliteTracker::~SatelliteTracker()
|
||||
{
|
||||
delete m_networkManager;
|
||||
stop();
|
||||
qDeleteAll(m_satState);
|
||||
}
|
||||
|
@ -57,6 +57,7 @@ AudioOutput::AudioOutput(DeviceAPI *deviceAPI) :
|
||||
|
||||
AudioOutput::~AudioOutput()
|
||||
{
|
||||
delete m_networkManager;
|
||||
stop();
|
||||
}
|
||||
|
||||
|
@ -56,6 +56,7 @@ FileOutput::FileOutput(DeviceAPI *deviceAPI) :
|
||||
|
||||
FileOutput::~FileOutput()
|
||||
{
|
||||
delete m_networkManager;
|
||||
stop();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user