diff options
author | wm4 <wm4@nowhere> | 2017-08-07 19:57:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-07 19:57:15 +0200 |
commit | 61c8a147b5fef7337ba4e68673d521d5479e49e5 (patch) | |
tree | bd43237f56e679ba5635e415fb2706101a6851ce /video/out/vo_opengl.c | |
parent | bbb57694b007645656faf4dcdd0438d056ca5696 (diff) | |
download | mpv-61c8a147b5fef7337ba4e68673d521d5479e49e5.tar.bz2 mpv-61c8a147b5fef7337ba4e68673d521d5479e49e5.tar.xz |
vo_opengl: call ra_free() in the correct context
This also fixes a double free in vo_opengl_cb.c.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 8a1e47bd48..e70fbafa5f 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -388,6 +388,7 @@ static void uninit(struct vo *vo) hwdec_devices_set_loader(vo->hwdec_devs, NULL, NULL); hwdec_devices_destroy(vo->hwdec_devs); } + ra_free(&p->ra); mpgl_uninit(p->glctx); } |