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

This commit is contained in:
Virtually Nick 2020-10-30 10:12:25 -04:00 committed by GitHub
commit 0be71a8c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}