From 54e2aedb46518ad6c12c6ef802bad7b9f564be4c Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 10 Mar 2009 22:04:48 +0000 Subject: Added FIXME for heap corruption occurring when exiting SCI games svn-id: r39315 --- engines/sci/engine/seg_manager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index 35297cb077..81de171cb2 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -264,6 +264,7 @@ int SegManager::deallocate(int seg, bool recursive) { free(str->name); str->name = NULL; + // FIXME: this corrupts the heap for some reason free(str->value); str->value = NULL; -- cgit v1.2.3