IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2005, 1:44:22 PM (21 years ago)
Author:
desonia
Message:

added enhancement to psFree so that it sets the reference being freed to
NULL (thanks Gus).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psErrorCodes.c

    r3682 r4308  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-04-07 20:27:41 $
     9 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-17 23:44:21 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2929 *     $2  The error description (rest of the line in psErrorCodes.dat)
    3030 *     $n  The order of the source line in psErrorCodes.dat (comments excluded)
    31  * 
     31 *
    3232 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    3333 */
     
    9090static void freeErrorDescription(psErrorDescription* err)
    9191{
    92     psFree((psPtr)err->description);
     92    psFree(err->description);
    9393}
    9494
Note: See TracChangeset for help on using the changeset viewer.