[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:
parent
bce9f1cbe6
commit
65a05fc490
@ -1205,6 +1205,7 @@ static void peer_channel_queue_free_message(void* obj)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
free(msg->context);
|
free(msg->context);
|
||||||
|
msg->context = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void channel_free(rdpPeerChannel* channel)
|
void channel_free(rdpPeerChannel* channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user