commit | f8bcc7e65c7996d503260018ecb4d6ac02399bfd | [log] [tgz] |
---|---|---|
author | Camilla Löwy <elmindreda@glfw.org> | Thu Feb 21 03:31:28 2019 +0100 |
committer | Camilla Löwy <elmindreda@glfw.org> | Tue Mar 05 20:22:00 2019 +0100 |
tree | c06791575762a690ef2a613adc6b910958645fe5 | |
parent | ba761ab06e794005d93d49b1ec47b5cefa1479cd [diff] |
NSGL: Fix leak of condition object Related to #1417.
diff --git a/src/nsgl_context.m b/src/nsgl_context.m index ae1d18b..2c10418 100755 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m
@@ -133,6 +133,9 @@ CVDisplayLinkRelease(window->context.nsgl.displayLink); } + [window->context.nsgl.swapIntervalCond release]; + window->context.nsgl.swapIntervalCond = nil; + [window->context.nsgl.pixelFormat release]; window->context.nsgl.pixelFormat = nil;