mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 03:02:29 -04: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:
parent
08c918f194
commit
9ac66a3396
@ -300,15 +300,18 @@ SIDGUI::~SIDGUI()
|
|||||||
disconnectDataUpdates();
|
disconnectDataUpdates();
|
||||||
if (m_grb) {
|
if (m_grb) {
|
||||||
disconnect(m_grb, &GRB::dataUpdated, this, &SIDGUI::grbDataUpdated);
|
disconnect(m_grb, &GRB::dataUpdated, this, &SIDGUI::grbDataUpdated);
|
||||||
|
delete m_grb;
|
||||||
}
|
}
|
||||||
if (m_stix) {
|
if (m_stix) {
|
||||||
disconnect(m_stix, &STIX::dataUpdated, this, &SIDGUI::stixDataUpdated);
|
disconnect(m_stix, &STIX::dataUpdated, this, &SIDGUI::stixDataUpdated);
|
||||||
|
delete m_stix;
|
||||||
}
|
}
|
||||||
m_statusTimer.stop();
|
m_statusTimer.stop();
|
||||||
|
|
||||||
clearFromMap();
|
clearFromMap();
|
||||||
|
|
||||||
delete m_goesXRay;
|
delete m_goesXRay;
|
||||||
|
delete m_solarDynamicsObservatory;
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user