diff --git a/oscar/SleepLib/loader_plugins/resmed_loader.cpp b/oscar/SleepLib/loader_plugins/resmed_loader.cpp index 3b0291d5..2ae30a9b 100644 --- a/oscar/SleepLib/loader_plugins/resmed_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resmed_loader.cpp @@ -462,6 +462,7 @@ int ResmedLoader::Open(const QString & dirpath) qDebug() << filename << "overlaps" << STRmap[date].filename << "for" << days; if (days <= STRmap[date].days) { qDebug() << "Skipping" << filename; + delete stredf; continue; } }