Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5302 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Oct 7, 2005, 2:28:45 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed bug in SkyShphere, doubly deleted Model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/resource_manager.cc

    r5219 r5302  
    399399  // if pointer is existent. and only one resource of this type exists.
    400400  Resource* tmpResource = this->locateResourceByPointer(pointer);
    401   if (!tmpResource)
     401  if (tmpResource == NULL)
    402402    {
    403403      PRINTF(2)("Resource not Found %p\n", pointer);
     
    460460          delete[] resource->name;
    461461          this->resourceList->remove(resource);
     462          delete resource;
    462463        }
    463464      else
Note: See TracChangeset for help on using the changeset viewer.