diff --git a/server/proxy/channels/pf_channel_rdpdr.c b/server/proxy/channels/pf_channel_rdpdr.c index cb79266da..61e5330e3 100644 --- a/server/proxy/channels/pf_channel_rdpdr.c +++ b/server/proxy/channels/pf_channel_rdpdr.c @@ -1764,7 +1764,7 @@ static void pf_channel_rdpdr_server_context_free(InterceptContextMapEntry* base) if (!entry) return; - WTSVirtualChannelClose(entry->handle); + (void)WTSVirtualChannelClose(entry->handle); pf_channel_rdpdr_common_context_free(&entry->common); ArrayList_Free(entry->blockedDevices); free(entry);