client/x11: don't close locked mutex

This commit is contained in:
Norbert Federa 2016-06-07 18:57:27 +02:00
parent 0abb285c3d
commit 374f97aad3

View File

@ -1972,7 +1972,6 @@ static void xfreerdp_client_free(freerdp* instance, rdpContext* context)
if (xfc->mutex)
{
WaitForSingleObject(xfc->mutex, INFINITE);
CloseHandle(xfc->mutex);
xfc->mutex = NULL;
}