forked from KolibriOS/kolibrios
heap: fix memory leakage
git-svn-id: svn://kolibrios.org@2164 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d250796055
commit
751664d089
@ -544,7 +544,8 @@ proc kernel_free stdcall, base:dword
|
||||
|
||||
call mutex_unlock
|
||||
|
||||
mov ecx, [esi+block_size];
|
||||
mov eax, [esi+block_base]
|
||||
mov ecx, [esi+block_size]
|
||||
shr ecx, 12
|
||||
call release_pages ;eax, ecx
|
||||
stdcall free_kernel_space, [base]
|
||||
|
Loading…
Reference in New Issue
Block a user