Fixed free/delete mismatches

This commit is contained in:
Uwe Seimet 2021-08-23 13:35:03 +02:00
parent 210df87765
commit 8ec72d0331
4 changed files with 4 additions and 4 deletions

View File

@ -1215,7 +1215,7 @@ Disk::~Disk()
}
for (auto const& command : commands) {
free(command.second);
delete command.second;
}
}

View File

@ -107,7 +107,7 @@ SCSIDaynaPort::~SCSIDaynaPort()
}
for (auto const& command : commands) {
free(command.second);
delete command.second;
}
}

View File

@ -87,7 +87,7 @@ SCSIBR::~SCSIBR()
}
for (auto const& command : commands) {
free(command.second);
delete command.second;
}
}

View File

@ -263,7 +263,7 @@ SCSICD::~SCSICD()
ClearTrack();
for (auto const& command : commands) {
free(command.second);
delete command.second;
}
}