Free clipboard respond to fix bug
Fixes (clipboard stops responding in the middle of a session)
@@ -1413,6 +1413,8 @@ xf_cliprdr_server_format_data_response(CliprdrClientContext* context,
if (SrcSize == 0)
{
WLog_INFO(TAG, "skipping, empty data detected!!!");
+ free(clipboard->respond);
+ clipboard->respond = NULL;
return CHANNEL_RC_OK;
}
