Changeset 949 for trunk/psLib/test/image/tst_psImage.c
- Timestamp:
- Jun 9, 2004, 10:34:34 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImage.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImage.c
r946 r949 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-06-09 19:27:09$8 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-06-09 20:34:34 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 224 224 // children is freed. 225 225 psImageFree(image); 226 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {226 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 227 227 psError(__func__,"Memory Leaks Detected"); 228 228 return 64; … … 235 235 // #548: Verify program execution doesn't stop, if the input psImage structure pointer is null. 236 236 psImageFree(NULL); 237 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {237 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 238 238 psError(__func__,"Memory Leaks Detected"); 239 239 return 64; … … 249 249 psImageFree(image); 250 250 251 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {251 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 252 252 psError(__func__,"Memory Leaks Detected"); 253 253 return 64; … … 521 521 // Verify no memory leaks or corruption are detected for a psImage structure 522 522 // Verify no memory leaks or corruption are detected for a psImage structure 523 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {523 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 524 524 psError(__func__,"Memory Leaks Detected"); 525 525 return 64; … … 627 627 psImageFree(img2); 628 628 629 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {629 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 630 630 psAbort(__func__,"Memory Leaks!"); 631 631 } … … 740 740 } 741 741 742 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {742 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 743 743 psAbort(__func__,"Memory Leaks!"); 744 744 } … … 826 826 827 827 828 if (psMemCheckLeaks(currentId,NULL, NULL) != 0) {828 if (psMemCheckLeaks(currentId,NULL,stderr) != 0) { 829 829 psAbort(__func__,"Memory Leaks!"); 830 830 }
Note:
See TracChangeset
for help on using the changeset viewer.
