aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-10 22:04:48 +0000
committerFilippos Karapetis2009-03-10 22:04:48 +0000
commit54e2aedb46518ad6c12c6ef802bad7b9f564be4c (patch)
treec52c86b90e9ef68679ab90ba71fd88e6ec824d0d /engines/sci/engine
parent915b29c3f5a484506a3cde54b197f9dbe1f002b1 (diff)
downloadscummvm-rg350-54e2aedb46518ad6c12c6ef802bad7b9f564be4c.tar.gz
scummvm-rg350-54e2aedb46518ad6c12c6ef802bad7b9f564be4c.tar.bz2
scummvm-rg350-54e2aedb46518ad6c12c6ef802bad7b9f564be4c.zip
Added FIXME for heap corruption occurring when exiting SCI games
svn-id: r39315
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/seg_manager.cpp1
1 files changed, 1 insertions, 0 deletions
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;