diff options
author | Yotam Barnoy | 2010-08-19 11:17:17 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-08-19 11:17:17 +0000 |
commit | 3ece67d1b8cbb6e5bfc493297726b8cb2afc8ee7 (patch) | |
tree | 2e1d697c3673ce90122e1ddee588a3bdbaa2cb69 /backends | |
parent | e2121bbc610e5c41662bd9d3b9e514f7db2350e7 (diff) | |
download | scummvm-rg350-3ece67d1b8cbb6e5bfc493297726b8cb2afc8ee7.tar.gz scummvm-rg350-3ece67d1b8cbb6e5bfc493297726b8cb2afc8ee7.tar.bz2 scummvm-rg350-3ece67d1b8cbb6e5bfc493297726b8cb2afc8ee7.zip |
PLUGINS: added virtual destructor to DLObject
This could be really important. Maybe.
svn-id: r52205
Diffstat (limited to 'backends')
-rw-r--r-- | backends/plugins/elf-loader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/plugins/elf-loader.h b/backends/plugins/elf-loader.h index df0427e429..7150141567 100644 --- a/backends/plugins/elf-loader.h +++ b/backends/plugins/elf-loader.h @@ -71,6 +71,7 @@ public: DLObject() : _segment(NULL), _symtab(NULL), _strtab(NULL), _symbol_cnt(0), _symtab_sect(-1), _dtors_start(NULL), _dtors_end(NULL), _segmentSize(0) {} + virtual ~DLObject() { unload(); } }; #endif /* ELF_LOADER_H */ |