aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYotam Barnoy2010-09-06 12:03:15 +0000
committerYotam Barnoy2010-09-06 12:03:15 +0000
commita3190a5bb5b0757c89461c2109a9d8fc91f2d1ce (patch)
tree94ac2b1b1163955bd2bd1ac143ae2fd1fae4f9bf
parenta7ff124dfd30032bfaa1897e13d1848c62b30013 (diff)
downloadscummvm-rg350-a3190a5bb5b0757c89461c2109a9d8fc91f2d1ce.tar.gz
scummvm-rg350-a3190a5bb5b0757c89461c2109a9d8fc91f2d1ce.tar.bz2
scummvm-rg350-a3190a5bb5b0757c89461c2109a9d8fc91f2d1ce.zip
PLUGINS: added missing call in destructor which caused crashing
svn-id: r52588
-rw-r--r--backends/plugins/elf/mips-loader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/plugins/elf/mips-loader.cpp b/backends/plugins/elf/mips-loader.cpp
index af8c70fcf6..80f4eae027 100644
--- a/backends/plugins/elf/mips-loader.cpp
+++ b/backends/plugins/elf/mips-loader.cpp
@@ -328,6 +328,8 @@ bool MIPSDLObject::loadSegment(Elf32_Phdr *phdr) {
// Unload all objects from memory
void MIPSDLObject::unload() {
+ DLObject::unload();
+
if (_shortsSegment) {
ShortsMan.deleteSegment(_shortsSegment);
_shortsSegment = 0;