Fix for r. 2489

git-svn-id: svn://kolibrios.org@2500 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-23 16:05:39 +00:00
parent 3017a820d3
commit 6d3caf1b30

View File

@ -438,12 +438,17 @@ proc load_file stdcall, file_name:dword
mov [file2], eax
pushad
mov ecx, unpack_mutex
call mutex_lock
popad
stdcall unpack, [file], eax
pushad
mov ecx, unpack_mutex
call mutex_unlock
popad
stdcall kernel_free, [file]
mov eax, [file2]