Changeset 2703 for trunk/psLib/src/sys/psErrorCodes.c
- Timestamp:
- Dec 13, 2004, 10:49:56 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psErrorCodes.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psErrorCodes.c
r2681 r2703 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-12-1 0 02:50:15$9 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-12-13 20:49:56 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 79 79 while ((desc = (psErrorDescription*)psListGetNext(iter)) != NULL) { 80 80 if (desc->code == code) { 81 psFree(iter); 81 82 return desc; 82 83 } 83 84 } 85 psFree(iter); 84 86 } 85 87 return NULL; … … 140 142 dynamicErrorCodes = psListAlloc(NULL); 141 143 p_psMemSetPersistent(dynamicErrorCodes,true); 144 145 p_psMemSetPersistent(dynamicErrorCodes->iterators,true); 146 p_psMemSetPersistent(dynamicErrorCodes->iterators->data,true); 147 for (int i = 0; i < dynamicErrorCodes->iterators->n;i++) { 148 p_psMemSetPersistent(dynamicErrorCodes->iterators->data[i],true); 149 } 142 150 } 143 151
Note:
See TracChangeset
for help on using the changeset viewer.
