aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/texte.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cine/texte.cpp b/engines/cine/texte.cpp
index a9252f71e8..9dbfa315d9 100644
--- a/engines/cine/texte.cpp
+++ b/engines/cine/texte.cpp
@@ -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++) {