From 1d7ae5829e712b4d3a0ef2813031e9c3ad3aff4c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 27 Oct 2014 19:18:29 +0100 Subject: [PATCH] cocoa: fix small leak --- video/out/cocoa_common.m | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 19968de8ff..0e47021492 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -349,6 +349,7 @@ static void create_ui(struct vo *vo, struct mp_rect *win, int geo_flags) [s->video release]; s->video.adapter = adapter; + [adapter release]; if (!s->embedded) { [s->window setRestorable:NO];