mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-14 05:30:53 +00:00
Match new[] with delete[]
svn-id: r12698
This commit is contained in:
parent
7e875dc55a
commit
c3a5b9abf7
@ -254,7 +254,7 @@ void QueenEngine::loadGameState(uint16 slot) {
|
||||
assert(header.dataSize == (uint32)(p - saveData));
|
||||
_logic->setupRestoredGame();
|
||||
}
|
||||
delete saveData;
|
||||
delete[] saveData;
|
||||
delete file;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user