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)