DIRECTOR: Remove freeing nullptr. PVS-Studio V575

This was left over from a refactor.

See: ecd6f218df
This commit is contained in:
sluicebox 2023-10-31 14:20:29 -07:00
parent b794a308fe
commit 1bb58d7937

View File

@ -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();
}