From e4960a1f0fab6476d86005fc1d38d6d2baa81a05 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Tue, 29 Feb 2000 22:19:57 +0000
Subject: [PATCH] Make profile key a global handle.

---
 files/profile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/files/profile.c b/files/profile.c
index 9448832a090..da795d543da 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -973,6 +973,7 @@ int PROFILE_LoadWineIni(void)
         ERR("Cannot create config registry key\n" );
         return 0;
     }
+    wine_profile_key = ConvertToGlobalHandle( wine_profile_key );
 
     InitializeCriticalSection( &PROFILE_CritSect );
     MakeCriticalSectionGlobal( &PROFILE_CritSect );
-- 
GitLab