Changeset 5302 in orxonox.OLD for trunk/src/util
- Timestamp:
- Oct 7, 2005, 2:28:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/resource_manager.cc
r5219 r5302 399 399 // if pointer is existent. and only one resource of this type exists. 400 400 Resource* tmpResource = this->locateResourceByPointer(pointer); 401 if ( !tmpResource)401 if (tmpResource == NULL) 402 402 { 403 403 PRINTF(2)("Resource not Found %p\n", pointer); … … 460 460 delete[] resource->name; 461 461 this->resourceList->remove(resource); 462 delete resource; 462 463 } 463 464 else
Note: See TracChangeset
for help on using the changeset viewer.