Changeset 12356
- Timestamp:
- Nov 18, 1999, 10:21:34 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/kernel32/os2heap.cpp ¶
r11991 r12356 1 /* $Id: os2heap.cpp,v 1.1 2 1999-10-22 18:07:21 sandervlExp $ */1 /* $Id: os2heap.cpp,v 1.13 1999-11-18 09:21:34 bird Exp $ */ 2 2 3 3 /* … … 8 8 * 9 9 * NOTE: ReAlloc allocates memory using Alloc if memory pointer == NULL 10 * WINE controls depend on this, even though it apparently 10 * WINE controls depend on this, even though it apparently 11 11 * doesn't work like this in Windows. 12 12 * … … 26 26 #include "misc.h" 27 27 #include "vmutex.h" 28 #include "initterm.h" 28 29 29 30 #ifndef HEAP_NO_SERIALIZE … … 265 266 266 267 if (dwBytes == 0) return NULL; // intercept stupid parameters 267 268 268 269 //NOTE: Allocate memory using Alloc -> WINE controls depend on this, even 269 270 // though it apparently doesn't work in Windows. … … 300 301 dprintf(("OS2Heap::Free lpMem == NULL\n")); 301 302 return(FALSE); 303 } 304 /* verify lpMem address */ 305 if (lpMem >= (LPVOID)ulMaxAddr || lpMem < (LPVOID)0x10000) 306 { 307 dprintf(("OS2Heap::Free ERROR BAD HEAP POINTER:%X\n", lpMem)); 308 return FALSE; 302 309 } 303 310
Note:
See TracChangeset
for help on using the changeset viewer.