Commit 3db37dc5 authored by Esme Povirk's avatar Esme Povirk Committed by Alexandre Julliard

bcrypt: Don't try to unload gnutls if loading failed.

parent 2330a586
...@@ -1908,7 +1908,7 @@ NTSTATUS CDECL __wine_init_unix_lib( HMODULE module, DWORD reason, const void *p ...@@ -1908,7 +1908,7 @@ NTSTATUS CDECL __wine_init_unix_lib( HMODULE module, DWORD reason, const void *p
*(const struct key_funcs **)ptr_out = &key_funcs; *(const struct key_funcs **)ptr_out = &key_funcs;
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
gnutls_uninitialize(); if (libgnutls_handle) gnutls_uninitialize();
break; break;
} }
return STATUS_SUCCESS; return STATUS_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment