FreeRDP/channels/urbdrc
Ilya Shipitsin c7954ad0f3 channels/urbdrc/client/data_transfer.c: fix resource leak
found by coverity

705        if (transferDir == USBD_TRANSFER_DIRECTION_OUT)
706        {
      18. Condition !Stream_CheckAndLogRequiredLengthEx("com.freerdp.channels.urbdrc.client" /* "com.freerdp.channels.urbdrc.client" */, 3, s, OutputBufferSize, 1, "%s(%s:%zu)" /* "%s(%s:%zu)" */, <anonymous>, "/home/runner/work/FreeRDP/FreeRDP/channels/urbdrc/client/data_transfer.c", 707UL /* (size_t)707 */), taking true branch.
707                if (!Stream_CheckAndLogRequiredLength(TAG, s, OutputBufferSize))

CID 424733: (#1 of 1): Resource leak (RESOURCE_LEAK)
19. leaked_storage: Variable out going out of scope leaks the storage it points to.
708                        return ERROR_INVALID_DATA;
709                Stream_Copy(s, out, OutputBufferSize);
710        }
2024-04-08 11:39:20 +02:00
..
client channels/urbdrc/client/data_transfer.c: fix resource leak 2024-04-08 11:39:20 +02:00
common [tidy] move loop variable declaration to loop 2024-02-22 12:31:50 +01:00
ChannelOptions.cmake Deactivate USB redirection for IOS and ANDROID by default. 2020-02-26 13:53:25 +01:00
CMakeLists.txt [cmake] use DEFAULT_DEBUG_OPTION for all 2024-02-13 17:06:00 +01:00