forked from KolibriOS/kolibrios
fixed bug in user_free
git-svn-id: svn://kolibrios.org@266 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
18334aa2f8
commit
fd12438007
@ -752,6 +752,8 @@ proc user_free stdcall, base:dword
|
||||
shl ebx, 8
|
||||
mov esi, dword [ebx+PROC_BASE+APPDATA.heap_base]; heap_base
|
||||
mov edi, dword [ebx+PROC_BASE+APPDATA.heap_top]; heap_top
|
||||
add esi, new_app_base
|
||||
add edi, new_app_base
|
||||
shr esi, 12
|
||||
shr edi, 12
|
||||
@@:
|
||||
|
Loading…
Reference in New Issue
Block a user