Changeset 2057
- Timestamp:
- Oct 12, 2004, 10:50:40 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c
r1648 r2057 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2004- 08-27 23:31:29$12 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-12 20:50:40 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 81 81 82 82 83 #define CHECK_MEMORY \ 84 psMemCheckLeaks(0, NULL, stdout); \ 85 int nBad = psMemCheckCorruption(0); \ 86 if(nBad) { \ 87 printf("ERROR: Found %d bad memory blocks\n", nBad); \ 83 #define CHECK_MEMORY \ 84 if( psMemCheckLeaks(0, NULL, stdout) != 0 ) { \ 85 psError(__func__,"Memory leaks detected."); \ 86 return 50; \ 87 } \ 88 int nBad = psMemCheckCorruption(0); \ 89 if(nBad) { \ 90 psError(__func__,"ERROR: Found %d bad memory blocks\n", nBad); \ 91 return 51; \ 88 92 } 89 93
Note:
See TracChangeset
for help on using the changeset viewer.
