aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorLars Skovlund2009-03-10 17:41:58 +0000
committerLars Skovlund2009-03-10 17:41:58 +0000
commit49393c79e5f7e28627164fec6b5ac9d646d5ea9b (patch)
tree7f88e45ee769ef87daaaf1dcd3c71ed43bacbd20 /engines/sci/engine
parentd8824d631afb553b9e9a637f8912f7f5225621c1 (diff)
downloadscummvm-rg350-49393c79e5f7e28627164fec6b5ac9d646d5ea9b.tar.gz
scummvm-rg350-49393c79e5f7e28627164fec6b5ac9d646d5ea9b.tar.bz2
scummvm-rg350-49393c79e5f7e28627164fec6b5ac9d646d5ea9b.zip
Minor fix to deallocate STRING_FRAG segments properly
svn-id: r39299
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/seg_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp
index ad9bfd27cd..35297cb077 100644
--- a/engines/sci/engine/seg_manager.cpp
+++ b/engines/sci/engine/seg_manager.cpp
@@ -298,6 +298,8 @@ int SegManager::deallocate(int seg, bool recursive) {
case MEM_OBJ_RESERVED:
free(mobj->data.reserved);
break;
+ case MEM_OBJ_STRING_FRAG:
+ break;
default:
fprintf(stderr, "Deallocating segment type %d not supported!\n",
mobj->type);