mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
CINE: Add FIXME about Operation Stealth Memory Leak.
svn-id: r55186
This commit is contained in:
parent
9058a83ad9
commit
42713ef1fc
@ -605,6 +605,8 @@ void loadErrmessDat(const char *fname) {
|
||||
in.open(fname);
|
||||
|
||||
if (in.isOpen()) {
|
||||
// FIXME - This can leak in some situations in Operation Stealth
|
||||
// Engine Restart - multiple allocations with no free?
|
||||
char **ptr = (char **)malloc(sizeof(char *) * 6 * 4 + 60 * 6 * 4);
|
||||
|
||||
for (int i = 0; i < 6 * 4; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user