Commit 74547916 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winspool.drv: Delete the static critical section when unloading the dll.

parent 06646b7a
...@@ -114,6 +114,7 @@ static void unload_backend(void) ...@@ -114,6 +114,7 @@ static void unload_backend(void)
backend = NULL; backend = NULL;
FreeLibrary(hlocalspl); FreeLibrary(hlocalspl);
LeaveCriticalSection(&backend_cs); LeaveCriticalSection(&backend_cs);
DeleteCriticalSection(&backend_cs);
} }
......
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