mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 17:46:22 +00:00
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:
parent
a029f6a5c4
commit
349ebe94f1
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user