Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2937 in orxonox.OLD for orxonox/trunk/importer


Ignore:
Timestamp:
Nov 21, 2004, 10:51:29 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: freeing space after adding element

File:
1 edited

Legend:

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

    r2934 r2937  
    447447
    448448  tmpElem = firstElem;
     449  FaceElement* delElem;
    449450  while (tmpElem != NULL)
    450451    {
    451452      //      printf ("%s\n", tmpElem->value);
    452453      addGLElement(tmpElem->value);
     454      delElem = tmpElem;
    453455      tmpElem = tmpElem->next;
     456      delete delElem;
    454457    }
    455458
Note: See TracChangeset for help on using the changeset viewer.