From fd1243800704cc65db406a6664fec70826f557a0 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Tue, 9 Jan 2007 18:30:35 +0000 Subject: [PATCH] fixed bug in user_free git-svn-id: svn://kolibrios.org@266 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/heap.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/core/heap.inc b/kernel/trunk/core/heap.inc index 8f4389ae7e..0407691858 100644 --- a/kernel/trunk/core/heap.inc +++ b/kernel/trunk/core/heap.inc @@ -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 @@: