mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00

In function `PEResources::loadFromEXE`, there were memory leaks because of not properly handling with streams, and thus when the loaded movie was bad/non-exe file, the memory was not freed. This was undetected in normal exe loading because there the streams were being assigned and closed properly.