Changeset 26892 for trunk/psLib/src/sys
- Timestamp:
- Feb 10, 2010, 7:27:29 PM (16 years ago)
- Location:
- trunk/psLib/src/sys
- Files:
-
- 3 edited
-
psErrorCodes.c.in (modified) (1 diff)
-
psMemory.h (modified) (2 diffs)
-
psTrace.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psErrorCodes.c.in
r11675 r26892 67 67 static void freeErrorDescription(psErrorDescription* err) 68 68 { 69 psFree( (void *)err->description);69 psFree(err->description); 70 70 } 71 71 -
trunk/psLib/src/sys/psMemory.h
r23305 r26892 326 326 327 327 /** Free memory. This operates much like free(). 328 * 328 * 329 329 * @see psAlloc, psRealloc 330 * note: we cast ptr to (void *) in case we are supplied a const pointer. 330 331 */ 331 332 #ifdef DOXYGEN … … 336 337 #ifndef SWIG 337 338 #define psFree(ptr) \ 338 psMemDecrRefCounter(ptr)339 ptr = psMemDecrRefCounter((void *)ptr); 339 340 #endif // ifndef SWIG 340 341 #endif // ifdef DOXYGEN -
trunk/psLib/src/sys/psTrace.c
r20546 r26892 119 119 120 120 psMemSetPersistent((psPtr)comp->name,false); 121 psFree( (void *)comp->name);121 psFree(comp->name); 122 122 } 123 123
Note:
See TracChangeset
for help on using the changeset viewer.
