Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5210 in orxonox.OLD for trunk/src/lib/event/event_handler.cc


Ignore:
Timestamp:
Sep 21, 2005, 12:01:25 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: other minor valgrid found error-fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r5093 r5210  
    3636  this->setClassID(CL_EVENT_HANDLER, "EventHandler");
    3737
    38   this->listeners = new EventListener**[ES_NUMBER];
    39   for(int i = 0; i < ES_NUMBER; ++i)
    40     this->listeners[i] = new EventListener*[EV_NUMBER];
    41 
    4238  /* now initialize them all to zero */
    43   for(int i = 0; i < ES_NUMBER; ++i)
    44     {
    45       for(int j = 0; j < EV_NUMBER; ++j)
     39  for(int i = 0; i < ES_NUMBER; i++)
     40    {
     41      for(int j = 0; j < EV_NUMBER; j++)
    4642        {
    4743          this->listeners[i][j] = NULL;
Note: See TracChangeset for help on using the changeset viewer.