mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[channels,urbdrc] fix possible leak in error branch
This commit is contained in:
parent
0c0aacc67f
commit
2b26cf74e0
@ -654,6 +654,7 @@ static UINT urb_select_interface(IUDEVICE* pdev, GENERIC_CHANNEL_CALLBACK* callb
|
||||
"[MS-RDPEUSB] 2.2.9.3 TS_URB_SELECT_INTERFACE::OutputBufferSize must be 0, got "
|
||||
"%" PRIu32,
|
||||
OutputBufferSize);
|
||||
msusb_msinterface_free(MsInterface);
|
||||
return ERROR_INVALID_DATA;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user