Fix crashes in Importer destructor cleanup - Thanks Andre Lombard

This commit is contained in:
Mark Watkins 2013-08-24 15:33:13 +10:00
parent db0835cbee
commit c15d47179c
4 changed files with 0 additions and 12 deletions

View File

@ -38,9 +38,6 @@ FPIconLoader::FPIconLoader()
FPIconLoader::~FPIconLoader()
{
for (QHash<QString,Machine *>::iterator i=MachList.begin(); i!=MachList.end(); i++) {
delete i.value();
}
}
int FPIconLoader::Open(QString & path,Profile *profile)

View File

@ -36,9 +36,6 @@ IntellipapLoader::IntellipapLoader()
IntellipapLoader::~IntellipapLoader()
{
for (QHash<QString,Machine *>::iterator i=MachList.begin(); i!=MachList.end(); i++) {
delete i.value();
}
}
int IntellipapLoader::Open(QString & path,Profile *profile)

View File

@ -36,9 +36,6 @@ MSeriesLoader::MSeriesLoader()
MSeriesLoader::~MSeriesLoader()
{
for (QHash<QString,Machine *>::iterator i=MachList.begin(); i!=MachList.end(); i++) {
delete i.value();
}
}
//struct MSeriesHeader {

View File

@ -126,9 +126,6 @@ PRS1Loader::PRS1Loader()
PRS1Loader::~PRS1Loader()
{
for (QHash<QString,Machine *>::iterator i=PRS1List.begin(); i!=PRS1List.end(); i++) {
delete i.value();
}
}
Machine *PRS1Loader::CreateMachine(QString serial,Profile *profile)
{