In OS/2, GlobalFree is not needed to release the memory for CloseClipboard. If GlobalFree is called after the CloseClipboard call, CloseClipboard fails.