[coverity] 1543220 Double free

This commit is contained in:
akallabeth
2024-04-11 10:16:09 +02:00
committed by akallabeth
parent 1affbd0655
commit 1473931ecd

View File

@@ -1444,7 +1444,6 @@ static BOOL shadow_client_send_surface_bits(rdpShadowClient* client, BYTE* pSrcD
const RFX_MESSAGE* msg = rfx_message_list_get(messages, i);
if (!rfx_write_message(encoder->rfx, s, msg))
{
rfx_message_list_free(messages);
WLog_ERR(TAG, "rfx_write_message failed");
ret = FALSE;
break;