1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 08:21:16 -05:00

Fix memleaks

Fixes leaks:
in SIDGUI::SIDGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) plugins/feature/sid/sidgui.cpp:257
in SIDGUI::SIDGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) plugins/feature/sid/sidgui.cpp:249
in SIDGUI::SIDGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) plugins/feature/sid/sidgui.cpp:215
This commit is contained in:
Daniele Forsi 2024-05-19 22:30:22 +02:00
parent 08c918f194
commit 9ac66a3396

View File

@ -300,15 +300,18 @@ SIDGUI::~SIDGUI()
disconnectDataUpdates();
if (m_grb) {
disconnect(m_grb, &GRB::dataUpdated, this, &SIDGUI::grbDataUpdated);
delete m_grb;
}
if (m_stix) {
disconnect(m_stix, &STIX::dataUpdated, this, &SIDGUI::stixDataUpdated);
delete m_stix;
}
m_statusTimer.stop();
clearFromMap();
delete m_goesXRay;
delete m_solarDynamicsObservatory;
delete ui;
}