Changeset 5099 in orxonox.OLD for trunk/src/util/loading
- Timestamp:
- Aug 22, 2005, 1:06:39 AM (19 years ago)
- Location:
- trunk/src/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/load_param.cc
r4860 r5099 197 197 LoadParamDescription::~LoadParamDescription() 198 198 { 199 for(int i = 0; i < this->paramCount; i++)199 if (this->types != NULL) 200 200 { 201 delete this->types[i]; 201 for(int i = 0; i < this->paramCount; i++) 202 { 203 delete []this->types[i]; 204 } 202 205 } 203 for(int i = 0; i < this->paramCount; i++)206 if (this->defaultValues != NULL) 204 207 { 205 delete this->defaultValues[i]; 208 for(int i = 0; i < this->paramCount; i++) 209 { 210 delete []this->defaultValues[i]; 211 } 206 212 } 207 213 -
trunk/src/util/loading/load_param.h
r5039 r5099 135 135 PRINTF(4)("Not loaded parameter %s of %s\n", paramName, pt2Object->getClassName()); \ 136 136 } 137 138 137 139 138 // 2. TYPES
Note: See TracChangeset
for help on using the changeset viewer.