GUACAMOLE-1182: Ensure converted clipboard data is freed after being sent.

This commit is contained in:
Michael Jumper 2020-10-28 16:36:50 -07:00
parent 558eb149f4
commit 683ef1722e

View File

@ -366,7 +366,9 @@ static UINT guac_rdp_cliprdr_format_data_request(CliprdrClientContext* cliprdr,
guac_client_log(clipboard->client, GUAC_LOG_TRACE, "CLIPRDR: Sending "
"format data response.");
return cliprdr->ClientFormatDataResponse(cliprdr, &data_response);
UINT result = cliprdr->ClientFormatDataResponse(cliprdr, &data_response);
free(start);
return result;
}