Changeset 11017 for branches/jch-memory/psLib/src/sys/psMemory.c
- Timestamp:
- Jan 10, 2007, 2:46:34 PM (19 years ago)
- File:
-
- 1 edited
-
branches/jch-memory/psLib/src/sys/psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jch-memory/psLib/src/sys/psMemory.c
r11016 r11017 10 10 * @author Joshua Hoblitt, University of Hawaii 11 11 * 12 * @version $Revision: 1.88.2.2 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2007-01-11 00: 22:00$12 * @version $Revision: 1.88.2.27 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2007-01-11 00:46:34 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 155 155 } 156 156 157 // Currently psAlloc()/psRealloc() will blindly create memBlock's with a 158 // size of 0. This test is in here to check if this is really 159 // happening/being use as a feature in the wild. 160 if (memBlock->size < 1) { 161 psMemBlockPrint(output, memBlock); 162 blockPrinted = true; 163 fprintf(output, _("\n\tMemory block has a size of less than 1.\n")); 164 bad = true; 165 } 166 157 167 if (memBlock->refCounter < 1) { 158 168 // using an unreferenced block of memory, are you?
Note:
See TracChangeset
for help on using the changeset viewer.
