Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memleaks #2133

Merged
merged 4 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugins/channelrx/channelpower/channelpowersink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions plugins/channelrx/demodchirpchat/chirpchatdemod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ ChirpChatDemod::ChirpChatDemod(DeviceAPI* deviceAPI) :

ChirpChatDemod::~ChirpChatDemod()
{
delete m_networkManager;
m_deviceAPI->removeChannelSinkAPI(this);
m_deviceAPI->removeChannelSink(this);
stop();
Expand Down
1 change: 1 addition & 0 deletions plugins/channelrx/radioastronomy/radioastronomygui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,7 @@ void RadioAstronomyGUI::customContextMenuRequested(QPoint pos)

RadioAstronomyGUI::~RadioAstronomyGUI()
{
delete m_networkManager;
delete ui;
delete m_calHot;
delete m_calCold;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ SatelliteSelectionDialog::SatelliteSelectionDialog(SatelliteTrackerSettings *set

SatelliteSelectionDialog::~SatelliteSelectionDialog()
{
delete m_networkManager;
delete ui;
}

Expand Down
1 change: 1 addition & 0 deletions plugins/feature/satellitetracker/satellitetracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ SatelliteTracker::SatelliteTracker(WebAPIAdapterInterface *webAPIAdapterInterfac

SatelliteTracker::~SatelliteTracker()
{
delete m_networkManager;
stop();
qDeleteAll(m_satState);
}
Expand Down
1 change: 1 addition & 0 deletions plugins/feature/skymap/skymapgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ SkyMapGUI::~SkyMapGUI()
m_webServer->close();
delete m_webServer;
}
delete m_webInterface;
delete ui;
}

Expand Down
1 change: 1 addition & 0 deletions plugins/samplesink/audiooutput/audiooutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ AudioOutput::AudioOutput(DeviceAPI *deviceAPI) :

AudioOutput::~AudioOutput()
{
delete m_networkManager;
stop();
}

Expand Down
1 change: 1 addition & 0 deletions plugins/samplesink/fileoutput/fileoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ FileOutput::FileOutput(DeviceAPI *deviceAPI) :

FileOutput::~FileOutput()
{
delete m_networkManager;
stop();
}

Expand Down
1 change: 1 addition & 0 deletions sdrgui/gui/tvscreenanalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ TVScreenAnalog::TVScreenAnalog(QWidget *parent) :

TVScreenAnalog::~TVScreenAnalog()
{
cleanup();
delete m_backBuffer;
delete m_frontBuffer;
}
Expand Down
Loading