Changeset 175
- Timestamp:
- Mar 9, 2004, 3:03:07 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/src/Utils/memory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/src/Utils/memory.c
r146 r175 82 82 83 83 if (lineno > 0) { 84 psAbort(__func__, "Detected memory corruptionat %s:%d", file, lineno);84 psAbort(__func__, "Detected a problem in the memory system at %s:%d", file, lineno); 85 85 } 86 86 } … … 285 285 286 286 psMemBlock *ptr = ((psMemBlock *)vptr) - 1; 287 /* 288 * Did the user ask to be informed about this deallocation? 289 */ 290 if (ptr->id == p_psMemFreeID) { 291 p_psMemFreeID += memFreeCB(ptr); 292 } 287 293 288 294 if (bad_memblock(ptr, 0) || ptr->refCounter != 1) { 289 295 memProblemCB(ptr, file, lineno); 290 }291 /*292 * Did the user ask to be informed about this allocation?293 */294 if(ptr->id == p_psMemFreeID) {295 p_psMemFreeID += memFreeCB(ptr);296 296 } 297 297
Note:
See TracChangeset
for help on using the changeset viewer.
