forked from KolibriOS/kolibrios
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
This commit is contained in:
parent
4d746806a6
commit
e454817cbc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user