mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
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
Block a user