diff --git a/SleepLib/loader_plugins/icon_loader.cpp b/SleepLib/loader_plugins/icon_loader.cpp index d0784522..fbd9083a 100644 --- a/SleepLib/loader_plugins/icon_loader.cpp +++ b/SleepLib/loader_plugins/icon_loader.cpp @@ -38,9 +38,6 @@ FPIconLoader::FPIconLoader() FPIconLoader::~FPIconLoader() { - for (QHash::iterator i=MachList.begin(); i!=MachList.end(); i++) { - delete i.value(); - } } int FPIconLoader::Open(QString & path,Profile *profile) diff --git a/SleepLib/loader_plugins/intellipap_loader.cpp b/SleepLib/loader_plugins/intellipap_loader.cpp index 3dd8bb74..b734f5c5 100644 --- a/SleepLib/loader_plugins/intellipap_loader.cpp +++ b/SleepLib/loader_plugins/intellipap_loader.cpp @@ -36,9 +36,6 @@ IntellipapLoader::IntellipapLoader() IntellipapLoader::~IntellipapLoader() { - for (QHash::iterator i=MachList.begin(); i!=MachList.end(); i++) { - delete i.value(); - } } int IntellipapLoader::Open(QString & path,Profile *profile) diff --git a/SleepLib/loader_plugins/mseries_loader.cpp b/SleepLib/loader_plugins/mseries_loader.cpp index 524a1067..e8577256 100644 --- a/SleepLib/loader_plugins/mseries_loader.cpp +++ b/SleepLib/loader_plugins/mseries_loader.cpp @@ -36,9 +36,6 @@ MSeriesLoader::MSeriesLoader() MSeriesLoader::~MSeriesLoader() { - for (QHash::iterator i=MachList.begin(); i!=MachList.end(); i++) { - delete i.value(); - } } //struct MSeriesHeader { diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp index 5ec7e573..ebb18c57 100644 --- a/SleepLib/loader_plugins/prs1_loader.cpp +++ b/SleepLib/loader_plugins/prs1_loader.cpp @@ -126,9 +126,6 @@ PRS1Loader::PRS1Loader() PRS1Loader::~PRS1Loader() { - for (QHash::iterator i=PRS1List.begin(); i!=PRS1List.end(); i++) { - delete i.value(); - } } Machine *PRS1Loader::CreateMachine(QString serial,Profile *profile) {