Hi,

Forte Agent was unable to copy text from the clipboard into the message body window 
because
of a bug in this method.
I'm not sure how Wine's clipboard implementation works, but handles returned by 
GetClipboardData
are not supposed to be valid after the app calls CloseClipboard (see MS docs). 
The attached patch makes a copy of the clipboard handle and passes that to the 
application.
Forte Agent frees this handle after it has extracted the clipboard data, so there's no 
memory leak.

Sander

Attachment: clipboard.patch
Description: Binary data

Reply via email to