winex11: Don't try to free custom GDI formats at all.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
99d5b75c7d
commit
13fbbfac1c
|
@ -597,6 +597,7 @@ static void X11DRV_CLIPBOARD_FreeData(LPWINE_CLIPDATA lpData)
|
|||
DeleteEnhMetaFile(lpData->hData);
|
||||
break;
|
||||
default:
|
||||
if (lpData->wFormatID >= CF_GDIOBJFIRST && lpData->wFormatID <= CF_GDIOBJLAST) break;
|
||||
if (lpData->wFormatID >= CF_PRIVATEFIRST && lpData->wFormatID <= CF_PRIVATELAST) break;
|
||||
GlobalFree(lpData->hData);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue