Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4053 in orxonox.OLD


Ignore:
Timestamp:
May 5, 2005, 1:25:56 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/guiMerge: deleted a F bug in orxonox.cc: f delete of not NULL parameter into nothingness
@patrick: could you have a look, at what is needed from the variables changed to NULL in initialisation??

Location:
orxonox/branches/guiMerge/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/guiMerge/src/lib/gui/gui/gui_gtk.cc

    r4052 r4053  
    7575  PRINT(0)("================================\n");
    7676  PRINT(0)("= ORXONOX CONFIGURATION WIZARD =\n");
    77   PRINT(0)("================================    - version:" PACKAGE_VERSION "\n");
     77  PRINT(0)("================================ - v." PACKAGE_VERSION "\n");
    7878
    7979  while(true)
  • orxonox/branches/guiMerge/src/orxonox.cc

    r4052 r4053  
    5050{
    5151  pause = false;
     52  this->world = NULL;
     53  this->resources = NULL;
     54  this->localinput = NULL;
    5255}
    5356
     
    5760Orxonox::~Orxonox ()
    5861{
     62  int i =0;
    5963  Orxonox::singletonRef = NULL;
    6064  if( world != NULL) delete world;
    61   if( localinput != NULL) delete world;
     65  if( localinput != NULL) delete localinput;
    6266  if( resources != NULL) delete resources;
    6367  delete GraphicsEngine::getInstance(); // deleting the Graphics
     
    364368  orx->start();
    365369 
    366   //  delete orx;
     370  delete orx;
    367371  ResourceManager::deleteFile("~/.orxonox/orxonox.lock");
    368372 
Note: See TracChangeset for help on using the changeset viewer.