This commit is contained in:
Christopher Faylor
2002-11-02 03:31:15 +00:00
parent fe5ba95245
commit 3593c18730
3 changed files with 3 additions and 3 deletions

View File

@@ -263,7 +263,7 @@ release_upto (const char *name, DWORD here)
if (!(mb.State == MEM_RESERVE && mb.AllocationProtect == PAGE_NOACCESS &&
(((void *) start < cygheap->user_heap.base
|| (void *) start > cygheap->user_heap.top) &&
((void *) start < (void *) cygheap
((void *) start < (void *) cygheap
| (void *) start > (void *) ((char *) cygheap + CYGHEAPSIZE)))))
continue;
if (!VirtualFree ((void *) start, 0, MEM_RELEASE))