From e454817cbc24ac20ac0e61ff1b3612e7ad4cb562 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 19 Jun 2010 19:57:00 +0000 Subject: [PATCH] Fix for function 68.23 - infinite loop after CLI and PAGE FAULT for destroy_smap git-svn-id: svn://kolibrios.org@1501 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/heap.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/core/heap.inc b/kernel/trunk/core/heap.inc index e9d9ed7125..6f8dcd7626 100644 --- a/kernel/trunk/core/heap.inc +++ b/kernel/trunk/core/heap.inc @@ -1521,13 +1521,14 @@ proc shmem_close stdcall, name:dword test edi, edi jz .next - lea eax, [edi+SMEM.name] + lea edi, [edi+SMEM.name] stdcall strncmp, [name], edi, 32 test eax, eax jne .next stdcall user_free, [esi+SMAP.base] + mov eax,esi call [esi+APPOBJ.destroy] @@: popfd