Set up and tear down WLog

This commit is contained in:
Armin Novak 2018-02-09 12:08:39 +01:00
parent 1b9da01612
commit 7e26c54866

View File

@ -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)