From 6d3caf1b30b81ef4a57e25d34812de52c1fa0542 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 23 Mar 2012 16:05:39 +0000 Subject: [PATCH] Fix for r. 2489 git-svn-id: svn://kolibrios.org@2500 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/dll.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/trunk/core/dll.inc b/kernel/trunk/core/dll.inc index 43524d190e..a4a24c0373 100644 --- a/kernel/trunk/core/dll.inc +++ b/kernel/trunk/core/dll.inc @@ -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]