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
This commit is contained in:
David Turner 2010-12-01 23:15:28 +00:00
parent a029f6a5c4
commit 349ebe94f1

View File

@ -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);