[core,server] set freed pointer NULL

Fixes #9271: after freeing the memory reset it to NULL to signal it was
already handled.
This commit is contained in:
Armin Novak 2023-08-21 12:48:23 +02:00 committed by akallabeth
parent bce9f1cbe6
commit 65a05fc490

View File

@ -1205,6 +1205,7 @@ static void peer_channel_queue_free_message(void* obj)
return;
free(msg->context);
msg->context = NULL;
}
void channel_free(rdpPeerChannel* channel)