diff --git a/channels/drdynvc/client/drdynvc_main.c b/channels/drdynvc/client/drdynvc_main.c index f19ac6fd7..fa09cd08f 100644 --- a/channels/drdynvc/client/drdynvc_main.c +++ b/channels/drdynvc/client/drdynvc_main.c @@ -815,7 +815,7 @@ static UINT drdynvc_write_data(drdynvcPlugin* drdynvc, UINT32 ChannelId, const B if (dataSize == 0) { - dvcman_close_channel(drdynvc->channel_mgr, ChannelId, TRUE); + status = dvcman_close_channel(drdynvc->channel_mgr, ChannelId, TRUE); } else if (dataSize <= CHANNEL_CHUNK_LENGTH - pos) {