- Timestamp:
- Jul 6, 2001, 9:03:42 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heap.cpp
r6184 r6186 1 /* $Id: heap.cpp,v 1. 29 2001-07-06 13:47:18sandervl Exp $ */1 /* $Id: heap.cpp,v 1.30 2001-07-06 19:03:42 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 #include <heap.h> 22 22 #include <odinwrap.h> 23 #include "initterm.h" 23 24 24 25 #define DBG_LOCALLOG DBG_heap … … 569 570 dprintf(("KERNEL32: GlobalFree %x", hmem)); 570 571 572 /* verify lpMem address */ 573 if (hmem >= (HGLOBAL)ulMaxAddr || hmem < (HGLOBAL)0x10000) 574 { 575 dprintf(("GlobalFree ERROR BAD HEAP POINTER:%X\n", hmem)); 576 return 0; 577 } 578 571 579 if(ISPOINTER(hmem)) /* POINTER */ 572 580 {
Note:
See TracChangeset
for help on using the changeset viewer.