Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMMON: Fix memory leak when invalid PE executable is loaded
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.
- Loading branch information