Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5099 in orxonox.OLD for trunk/src/util/loading/load_param.cc


Ignore:
Timestamp:
Aug 22, 2005, 1:06:39 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Background for the Shell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/load_param.cc

    r4860 r5099  
    197197LoadParamDescription::~LoadParamDescription()
    198198{
    199   for(int i = 0; i < this->paramCount; i++)
     199  if (this->types != NULL)
    200200  {
    201     delete this->types[i];
     201    for(int i = 0; i < this->paramCount; i++)
     202    {
     203      delete []this->types[i];
     204    }
    202205  }
    203   for(int i = 0; i < this->paramCount; i++)
     206  if (this->defaultValues != NULL)
    204207  {
    205     delete this->defaultValues[i];
     208    for(int i = 0; i < this->paramCount; i++)
     209    {
     210      delete []this->defaultValues[i];
     211    }
    206212  }
    207213
Note: See TracChangeset for help on using the changeset viewer.