IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2004, 1:48:25 PM (22 years ago)
Author:
desonia
Message:

adjustments to coorespond to adding persistent flag to psMemBlock, i.e.,
exclusion of internal library blocks in memory leak checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psError.c

    r1807 r1810  
    1010 *  @author Eric Van Alst, MHPCC
    1111 *   
    12  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-09-14 20:01:52 $
     12 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-09-14 23:48:25 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040        errorStack[errorStackSize] = psMemIncrRefCounter(err);
    4141        errorStackSize++;
     42        p_psMemSetPersistent(err,true);
     43        p_psMemSetPersistent(err->msg,true);
     44        p_psMemSetPersistent(err->name,true);
    4245    }
    4346
     
    8386    pthread_mutex_lock(&lockErrorStack);
    8487    for (int lcv=0;lcv<errorStackSize;lcv++) {
     88        p_psMemSetPersistent(errorStack[lcv]->msg,false);
     89        p_psMemSetPersistent(errorStack[lcv]->name,false);
     90        p_psMemSetPersistent(errorStack[lcv],false);
    8591        psFree(errorStack[lcv]);
    8692    }
Note: See TracChangeset for help on using the changeset viewer.