Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3080 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Dec 4, 2004, 10:17:25 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: delete better in Material and Object ..cc

Location:
orxonox/trunk/importer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/importer/material.cc

    r3070 r3080  
    4343Material::~Material()
    4444{
     45  if (name)
     46    delete []name;
    4547  if (verbose >= 2)
    4648    printf ("delete Material %s.\n", name);
  • orxonox/trunk/importer/object.cc

    r3079 r3080  
    280280
    281281  if (face->materialString != NULL)
    282       delete [] face->materialString;
     282      delete []face->materialString;
    283283  if (face->firstElem != NULL)
    284284    {
     
    838838
    839839    }
    840   delete []normArray;
     840  delete []normArray; 
    841841}
    842842
Note: See TracChangeset for help on using the changeset viewer.