Ignore NULL pointer as rdpsnd_server_context_free argument
This commit is contained in:
parent
7e7394d905
commit
732a4d3839
@ -857,6 +857,9 @@ void rdpsnd_server_context_reset(RdpsndServerContext* context)
|
||||
|
||||
void rdpsnd_server_context_free(RdpsndServerContext* context)
|
||||
{
|
||||
if (!context)
|
||||
return;
|
||||
|
||||
if (context->priv->ChannelHandle)
|
||||
WTSVirtualChannelClose(context->priv->ChannelHandle);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user