PLUGINS: added missing call in destructor which caused crashing

svn-id: r52588
This commit is contained in:
Yotam Barnoy 2010-09-06 12:03:15 +00:00
parent a7ff124dfd
commit a3190a5bb5

View file

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