Commit ccbffbae by Henning Schaffaf

Only unitialize if the call to CoInitializeEx was successful

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