Insert additional call to VirtualFree, using MEM_RELEASE, to make Win
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 24 Aug 1993 04:51:20 +0000 (04:51 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 24 Aug 1993 04:51:20 +0000 (04:51 +0000)
3.1 happy.

v7/src/microcode/ntutl/scheme31.c

index dfefe70828519fcd9861e0cb05b07220c560e421..882abb52394c4f44891948654c80045e202eabd0 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: scheme31.c,v 1.2 1993/08/21 03:56:46 gjr Exp $
+$Id: scheme31.c,v 1.3 1993/08/24 04:51:20 gjr Exp $
 
 Copyright (c) 1993 Massachusetts Institute of Technology
 
@@ -130,6 +130,9 @@ win32_release_heap (char * area, unsigned long handle)
   VirtualFree (((LPVOID) area),
               ((DWORD) handle),
               ((DWORD) MEM_DECOMMIT));
+  VirtualFree (((LPVOID) area),
+              ((DWORD) 0),
+              ((DWORD) MEM_RELEASE));
   return;
 }