Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3190 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Dec 16, 2004, 1:42:55 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: closing file when fail.

File:
1 edited

Legend:

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

    r3186 r3190  
    395395      BoxObject();
    396396      delete []fileName;
     397      OBJ_FILE->close();
    397398      return false;
    398399    }
     
    630631        printf ("unable to open file: %s\n", fileName);
    631632      delete []fileName;
     633      MTL_FILE->close();
    632634      return false;
    633635    }
Note: See TracChangeset for help on using the changeset viewer.