Changeset 2703 for trunk/psLib/src/sysUtils/psMemory.c
- Timestamp:
- Dec 13, 2004, 10:49:56 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psMemory.c
r2562 r2703 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-12- 01 00:56:32$10 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-12-13 20:49:56 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 431 431 psMemBlock* ptr = ((psMemBlock* ) vptr) - 1; 432 432 433 psError(PS_ERR_MEMORY_DEREF_USAGE,true, 434 PS_ERRORTEXT_psMemory_MULTIPLE_FREE, 433 psAbort(__func__,PS_ERRORTEXT_psMemory_MULTIPLE_FREE, 435 434 ptr->id, ptr->file, ptr->lineno, file, lineno); 436 437 return; 438 } 435 } 436 437 if (checkMemBlock(ptr, __func__) != 0) { 438 memProblemCallback(ptr, file, lineno); 439 psAbort(__func__,"Memory Corruption Detected."); 440 } 441 439 442 (void)p_psMemDecrRefCounter(vptr, file, lineno); // this handles the free, if required. 440 443 }
Note:
See TracChangeset
for help on using the changeset viewer.
