Changeset 461 for trunk/src/kernel32/os2heap.cpp
- Timestamp:
- Aug 10, 1999, 12:10:09 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/os2heap.cpp
r404 r461 1 /* $Id: os2heap.cpp,v 1. 5 1999-08-03 17:38:59phaller Exp $ */1 /* $Id: os2heap.cpp,v 1.6 1999-08-09 22:10:08 phaller Exp $ */ 2 2 3 3 /* … … 17 17 #include <stdlib.h> 18 18 #include <string.h> 19 #include <odincrt.h> 20 19 21 #include "win32type.h" 20 22 #include "os2heap.h" … … 50 52 dprintf(("KERNEL32: HeapCreate: initial size %d, max size %d (flags %X) returned %X\n", dwInitialSize, dwMaximumSize, flOptions, hPrimaryHeap)); 51 53 52 if(!(flOptions & HEAP_NO_SERIALIZE)) { 54 if(!(flOptions & HEAP_NO_SERIALIZE)) 55 { 56 ODIN_FS_BEGIN 53 57 hmutex = new VMutex(); 58 ODIN_FS_END 54 59 dassert(hmutex, ("ERROR: new VMutex\n")); 55 60 } … … 86 91 heapelem = hnext; 87 92 } 88 if(hmutex) { 93 if(hmutex) 94 { 89 95 hmutex->leave(); 90 delete hmutex;96 ODIN_delete(hmutex); 91 97 } 92 98
Note:
See TracChangeset
for help on using the changeset viewer.