IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26892 for trunk/psLib/src/sys


Ignore:
Timestamp:
Feb 10, 2010, 7:27:29 PM (16 years ago)
Author:
eugene
Message:

updates from eam_branches/20091201

Location:
trunk/psLib/src/sys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psErrorCodes.c.in

    r11675 r26892  
    6767static void freeErrorDescription(psErrorDescription* err)
    6868{
    69     psFree((void *)err->description);
     69    psFree(err->description);
    7070}
    7171
  • trunk/psLib/src/sys/psMemory.h

    r23305 r26892  
    326326
    327327/** Free memory.  This operates much like free().
    328  *
     328 * 
    329329 *  @see psAlloc, psRealloc
     330 *  note: we cast ptr to (void *) in case we are supplied a const pointer.
    330331 */
    331332#ifdef DOXYGEN
     
    336337#ifndef SWIG
    337338#define psFree(ptr) \
    338         psMemDecrRefCounter(ptr)
     339    ptr = psMemDecrRefCounter((void *)ptr);
    339340#endif // ifndef SWIG
    340341#endif // ifdef DOXYGEN
  • trunk/psLib/src/sys/psTrace.c

    r20546 r26892  
    119119
    120120    psMemSetPersistent((psPtr)comp->name,false);
    121     psFree((void *)comp->name);
     121    psFree(comp->name);
    122122}
    123123
Note: See TracChangeset for help on using the changeset viewer.