cocoa: fix small leak

This commit is contained in:
Stefano Pigozzi 2014-10-27 19:18:29 +01:00
parent 55396ee554
commit 1d7ae5829e
1 changed files with 1 additions and 0 deletions

View File

@ -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];