Free clipboard respond to fix bug
Fixes #5997 (clipboard stops responding in the middle of a session)
This commit is contained in:
parent
ca34fe4c12
commit
a6ccd38b68
@ -1413,6 +1413,8 @@ xf_cliprdr_server_format_data_response(CliprdrClientContext* context,
|
|||||||
if (SrcSize == 0)
|
if (SrcSize == 0)
|
||||||
{
|
{
|
||||||
WLog_INFO(TAG, "skipping, empty data detected!!!");
|
WLog_INFO(TAG, "skipping, empty data detected!!!");
|
||||||
|
free(clipboard->respond);
|
||||||
|
clipboard->respond = NULL;
|
||||||
return CHANNEL_RC_OK;
|
return CHANNEL_RC_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user