mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 09:54:26 +08:00
[channels] fix addin queue free
Only clear messages with an ID of 0
This commit is contained in:
parent
64c94e06f3
commit
0f4be4befd
@ -581,7 +581,7 @@ static void free_msg(void* obj)
|
||||
{
|
||||
wMessage* msg = (wMessage*)obj;
|
||||
|
||||
if (msg)
|
||||
if (msg && (msg->id == 0))
|
||||
{
|
||||
wStream* s = (wStream*)msg->wParam;
|
||||
Stream_Free(s, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user