Merge pull request #2929 from mfleisz/cliprdr_fix

cliprdr/server: Don't call CloseHandle on ChannelEvent
This commit is contained in:
Vic Lee 2015-10-23 15:59:07 +08:00
commit 39195bdacb

View File

@ -1409,12 +1409,6 @@ static UINT cliprdr_server_close(CliprdrServerContext* context)
cliprdr->ChannelHandle = NULL;
}
if (cliprdr->ChannelEvent)
{
CloseHandle(cliprdr->ChannelEvent);
cliprdr->ChannelEvent = NULL;
}
return CHANNEL_RC_OK;
}
@ -1572,5 +1566,6 @@ void cliprdr_server_context_free(CliprdrServerContext* context)
free(cliprdr->temporaryDirectory);
}
free(context->handle);
free(context);
}