Commit ccbffbae by Henning Schaffaf

Only unitialize if the call to CoInitializeEx was successful

parent 8c21cb5c
...@@ -253,6 +253,8 @@ static int fallback_cred_acquire_cb( ...@@ -253,6 +253,8 @@ static int fallback_cred_acquire_cb(
pISM->lpVtbl->Release(pISM); pISM->lpVtbl->Release(pISM);
} }
if (SUCCEEDED(hCoInitResult))
/* Only unitialize if the call to CoInitializeEx was successful. */
CoUninitialize(); CoUninitialize();
} }
......
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