diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 9cfc60565..6621d0b0a 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3909,6 +3909,7 @@ void stop_daemons(bool stopall, bool for_flash) } if (for_flash) { + delete cHddStat::getInstance(); delete CRecordManager::getInstance(); delete videoDemux; int ret = my_system(4, "mount", "-no", "remount,ro", "/"); @@ -3930,6 +3931,7 @@ void sighandler (int signum) switch (signum) { case SIGTERM: case SIGINT: + delete cHddStat::getInstance(); delete CRecordManager::getInstance(); //CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE); stop_daemons();