diff --git a/plugins/feature/sid/sidgui.cpp b/plugins/feature/sid/sidgui.cpp index 7627e7a352..eb49eeb136 100644 --- a/plugins/feature/sid/sidgui.cpp +++ b/plugins/feature/sid/sidgui.cpp @@ -292,7 +292,11 @@ SIDGUI::~SIDGUI() clearFromMap(); delete m_goesXRay; - delete m_solarDynamicsObservatory; + if (m_solarDynamicsObservatory) + { + delete m_player; + delete m_solarDynamicsObservatory; + } delete ui; }