Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2016, 9:08:54 PM (9 years ago)
Author:
landauf
Message:

fixed some cases where 'delete' was used instead of destroy()

Location:
code/trunk/src/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/objects/triggers/MultiTrigger.cc

    r9667 r11020  
    454454        this->fireEvent(status, container);
    455455        orxout(verbose, context::triggers) << "MultiTrigger '" <<  this->getName() << "' (&" << this << "): Fired event. originator: " << originator->getIdentifier()->getName() << " (&" << originator << "), status: " << status << "." << endl;
    456         delete container;
     456        container->destroy();
    457457    }
    458458
  • code/trunk/src/modules/portals/PortalEndPoint.cc

    r9667 r11020  
    7171    {
    7272        if(this->isInitialized() && this->trigger_ != NULL)
    73             delete this->trigger_;
     73            this->trigger_->destroy();
    7474    }
    7575
Note: See TracChangeset for help on using the changeset viewer.