[CONSRV] Only call CoUninitialize if initialized (#5582)

This commit is contained in:
Whindmar Saksit 2023-08-18 19:06:20 +02:00 committed by GitHub
parent 80153fc686
commit c0e443058e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
* PROJECT: ReactOS Console Server DLL
* FILE: win32ss/user/winsrv/consrv/console.c
* PURPOSE: Console Management Functions
* PROGRAMMERS: van Geldorp
* PROGRAMMERS: van Geldorp
* Jeffrey Morlan
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
*/
@ -465,8 +465,8 @@ LoadShellLinkConsoleInfo(IN OUT PCONSOLE_STATE_INFO ConsoleInfo,
}
IShellLinkW_Release(pshl);
}
CoUninitialize();
}
CoUninitialize();
Finish: