mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
DIRECTOR: Remove freeing nullptr. PVS-Studio V575
This was left over from a refactor.
See: ecd6f218df
This commit is contained in:
parent
b794a308fe
commit
1bb58d7937
@ -263,7 +263,6 @@ void Archive::dumpChunk(Resource &res, Common::DumpFile &out) {
|
||||
uint32 len = resStream->size();
|
||||
|
||||
if (dataSize < len) {
|
||||
free(data);
|
||||
data = (byte *)malloc(resStream->size());
|
||||
dataSize = resStream->size();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user