Commit graph

4 commits

Author SHA1 Message Date
Filippos Karapetis
5b1e2d502c COMMON: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko
4f247f6e80 COMMON: Fix potentially uninitalized variable. CID 1559623 2024-08-23 15:33:27 +02:00
Harishankar Kumar
7d8dcebeb7
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.
2023-06-14 13:57:50 +02:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Renamed from common/winexe_pe.cpp (Browse further)