mirror of https://github.com/mpv-player/mpv
cocoa: fix small leak
This commit is contained in:
parent
55396ee554
commit
1d7ae5829e
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue