1
0
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:
Stefano Pigozzi 2014-10-27 19:18:29 +01:00
parent 55396ee554
commit 1d7ae5829e

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