mirror of
https://github.com/akuker/RASCSI.git
synced 2025-04-11 11:37:09 +00:00
Fixed free/delete mismatches
This commit is contained in:
parent
210df87765
commit
8ec72d0331
@ -1215,7 +1215,7 @@ Disk::~Disk()
|
||||
}
|
||||
|
||||
for (auto const& command : commands) {
|
||||
free(command.second);
|
||||
delete command.second;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ SCSIDaynaPort::~SCSIDaynaPort()
|
||||
}
|
||||
|
||||
for (auto const& command : commands) {
|
||||
free(command.second);
|
||||
delete command.second;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ SCSIBR::~SCSIBR()
|
||||
}
|
||||
|
||||
for (auto const& command : commands) {
|
||||
free(command.second);
|
||||
delete command.second;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -263,7 +263,7 @@ SCSICD::~SCSICD()
|
||||
ClearTrack();
|
||||
|
||||
for (auto const& command : commands) {
|
||||
free(command.second);
|
||||
delete command.second;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user