diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 92066d5f794..143f7e97f2d 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -1186,6 +1186,7 @@ GHOST_TUns8* GHOST_SystemWin32::getClipboard(bool selection) const } buffer = (char*)GlobalLock( hData ); if (!buffer) { + CloseClipboard(); return NULL; } |