forked from KolibriOS/kolibrios
kolibri-process: fix wrong return value in user_free
git-svn-id: svn://kolibrios.org@5119 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f2d2fff452
commit
6eb724186d
@ -847,6 +847,7 @@ proc user_free stdcall, base:dword
|
|||||||
call mutex_unlock
|
call mutex_unlock
|
||||||
|
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
|
inc eax
|
||||||
pop ebx
|
pop ebx
|
||||||
pop esi
|
pop esi
|
||||||
ret
|
ret
|
||||||
@ -857,7 +858,6 @@ proc user_free stdcall, base:dword
|
|||||||
jmp .exit
|
jmp .exit
|
||||||
.fail:
|
.fail:
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
inc eax
|
|
||||||
pop esi
|
pop esi
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
Loading…
Reference in New Issue
Block a user