Moved SystemHeap allocations to the process heap.

diff --git a/files/file.c b/files/file.c
index 2999730..170e261 100644
--- a/files/file.c
+++ b/files/file.c
@@ -983,7 +983,7 @@
 BOOL FILE_InitProcessDosHandles( void ) {
 	HANDLE *ptr;
 
-        if (!(ptr = HeapAlloc( SystemHeap, HEAP_ZERO_MEMORY,
+        if (!(ptr = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
                                sizeof(*ptr) * DOS_TABLE_SIZE )))
             return FALSE;
         PROCESS_Current()->dos_handles = ptr;
@@ -2082,11 +2082,11 @@
   }
 #endif
 
-  curr = HeapAlloc( SystemHeap, 0, sizeof(DOS_FILE_LOCK) );
+  curr = HeapAlloc( GetProcessHeap(), 0, sizeof(DOS_FILE_LOCK) );
   curr->processId = GetCurrentProcessId();
   curr->base = f->l_start;
   curr->len = f->l_len;
-/*  curr->unix_name = HEAP_strdupA( SystemHeap, 0, file->unix_name);*/
+/*  curr->unix_name = HEAP_strdupA( GetProcessHeap(), 0, file->unix_name);*/
   curr->next = locks;
   curr->dos_file = file;
   locks = curr;
@@ -2105,8 +2105,8 @@
     if ((*curr)->dos_file == file) {
       rem = *curr;
       *curr = (*curr)->next;
-/*      HeapFree( SystemHeap, 0, rem->unix_name );*/
-      HeapFree( SystemHeap, 0, rem );
+/*      HeapFree( GetProcessHeap(), 0, rem->unix_name );*/
+      HeapFree( GetProcessHeap(), 0, rem );
     }
     else
       curr = &(*curr)->next;
@@ -2128,8 +2128,8 @@
       /* this is the same lock */
       rem = *curr;
       *curr = (*curr)->next;
-/*      HeapFree( SystemHeap, 0, rem->unix_name );*/
-      HeapFree( SystemHeap, 0, rem );
+/*      HeapFree( GetProcessHeap(), 0, rem->unix_name );*/
+      HeapFree( GetProcessHeap(), 0, rem );
       return TRUE;
     }
   }