aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2010-12-01 23:15:28 +0000
committerDavid Turner2010-12-01 23:15:28 +0000
commit349ebe94f19c5d7d2108a0c97aaeb2f5b5709b6e (patch)
tree12666fb08daeb5936359669ebe07c2c07f55d6fe /engines
parenta029f6a5c4e4d15ff1aee6544e17a3797d23f260 (diff)
downloadscummvm-rg350-349ebe94f19c5d7d2108a0c97aaeb2f5b5709b6e.tar.gz
scummvm-rg350-349ebe94f19c5d7d2108a0c97aaeb2f5b5709b6e.tar.bz2
scummvm-rg350-349ebe94f19c5d7d2108a0c97aaeb2f5b5709b6e.zip
HUGO: Add Missing shutdown() Call - Currently Disabled.
The engine shutdown() function is required to be called to clean up a number of allocated memory blocks. Unfortunately, this currently causes double free issues. This call is added, but commented out with a FIXME explaining this. svn-id: r54726
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/hugo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index d1911301ec..f1f762db2f 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -86,6 +86,10 @@ HugoEngine::HugoEngine(OSystem *syst, const HugoGameDescription *gd) : Engine(sy
}
HugoEngine::~HugoEngine() {
+ // FIXME - Need to call this to remove memory leaks,
+ // but this currently causes double free issues.
+ //shutdown();
+
freeTexts(_textData);
freeTexts(_stringtData);