mirror of https://github.com/FreeRDP/FreeRDP
fix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()
This commit is contained in:
parent
a2ecf403b2
commit
46b841be13
|
@ -620,9 +620,11 @@ static void* rail_virtual_channel_client_thread(void* arg)
|
|||
|
||||
if ((error = rail_order_recv(rail, data)))
|
||||
{
|
||||
Stream_Free(data, TRUE);
|
||||
WLog_ERR(TAG, "rail_order_recv failed with error %"PRIu32"!", error);
|
||||
break;
|
||||
}
|
||||
Stream_Free(data, TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue