heap: fix memory leakage

git-svn-id: svn://kolibrios.org@2164 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2011-09-07 21:27:52 +00:00
parent d250796055
commit 751664d089

View File

@ -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]