diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 93491dcf8d..84d8e29b86 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -180,6 +180,9 @@ void vo_cocoa_uninit(struct vo *vo) enable_power_management(vo); [NSApp setPresentationOptions:NSApplicationPresentationDefault]; + if (vo->opts->fs) + [[s->view window] release]; + [s->window release]; s->window = nil; [s->glContext release];