Fixed clipboard string leaks.

The clipboard string was not by the Win32 and Cocoa ports on terminate.
This commit is contained in:
Camilla Berglund
2013-06-24 14:08:50 +02:00
parent b6b57b5249
commit 2ce9e8e6b2
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -218,6 +218,8 @@ void _glfwPlatformTerminate(void)
_glfw.win32.classAtom = 0;
}
free(_glfw.win32.clipboardString);
_glfwTerminateContextAPI();
_glfwTerminateJoysticks();