Re: [2/2] user32: Also release GMEM_FIXED data in free_cached_data.
1 Oct
2016
1 Oct
'16
7:12 a.m.
Sebastian Lackner <sebastian(a)fds-team.de> writes:
I assume the purpose of the check was to detect GMEM_MOVEABLE handles, in order to mimic WinXP/Win2003 behavior for SetClipboardData. Unfortunately, the cache implemented in GetClipboardData() also uses GMEM_FIXED, which means even sane apps will leak memory on each cache flush.
Tests suggest that Windows Vista+ also release GMEM_FIXED pointers passed to SetClipboardData, so there is probably no need to keep this hack.
That's probably OK, but could you please add the test case too? -- Alexandre Julliard julliard(a)winehq.org
3359
Age (days ago)
3359
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard