From 7e26c548668508ca59b5b204b4973d2a4ef8d4ce Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 9 Feb 2018 12:08:39 +0100 Subject: [PATCH] Set up and tear down WLog --- client/common/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/common/client.c b/client/common/client.c index 2c8bbbb8a..fce5bba15 100644 --- a/client/common/client.c +++ b/client/common/client.c @@ -58,6 +58,7 @@ rdpContext* freerdp_client_context_new(RDP_CLIENT_ENTRY_POINTS* pEntryPoints) if (!pEntryPoints) return NULL; + WLog_Init(); IFCALL(pEntryPoints->GlobalInit); instance = freerdp_new(); @@ -115,6 +116,7 @@ void freerdp_client_context_free(rdpContext* context) free(instance->pClientEntryPoints); freerdp_free(instance); } + WLog_Uninit(); } int freerdp_client_start(rdpContext* context)