mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 17:03:39 +00:00
server: Fix leak of old clipboard data when replacing existing format.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9e087cde4b
commit
547d7eded3
|
@ -461,6 +461,7 @@ DECL_HANDLER(set_clipboard_data)
|
|||
}
|
||||
}
|
||||
|
||||
free( format->data );
|
||||
format->from = 0;
|
||||
format->seqno = clipboard->seqno++;
|
||||
format->size = get_req_data_size();
|
||||
|
|
Loading…
Reference in a new issue