https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c0e443058ef22c9f559df…
commit c0e443058ef22c9f559df6d49b9d5deb8ccbc161
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Fri Aug 18 19:06:20 2023 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Aug 18 19:06:20 2023 +0200
[CONSRV] Only call CoUninitialize if initialized (#5582)
---
win32ss/user/winsrv/consrv/console.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/user/winsrv/consrv/console.c b/win32ss/user/winsrv/consrv/console.c
index cc269604ba7..3209e3b4a83 100644
--- a/win32ss/user/winsrv/consrv/console.c
+++ b/win32ss/user/winsrv/consrv/console.c
@@ -3,7 +3,7 @@
* PROJECT: ReactOS Console Server DLL
* FILE: win32ss/user/winsrv/consrv/console.c
* PURPOSE: Console Management Functions
- * PROGRAMMERS: G� van Geldorp
+ * PROGRAMMERS: Gé van Geldorp
* Jeffrey Morlan
* Hermes Belusca-Maito (hermes.belusca(a)sfr.fr)
*/
@@ -465,8 +465,8 @@ LoadShellLinkConsoleInfo(IN OUT PCONSOLE_STATE_INFO ConsoleInfo,
}
IShellLinkW_Release(pshl);
}
+ CoUninitialize();
}
- CoUninitialize();
Finish: