Commit f39bc9c4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gl: fix memory leak

parent a62fba04
......@@ -209,7 +209,8 @@ static void PictureDisplay (vout_display_t *vd, picture_t *pic, subpicture_t *su
vlc_gl_ReleaseCurrent (sys->gl);
picture_Release (pic);
(void) subpicture;
if (subpicture != NULL)
static int Control (vout_display_t *vd, int query, va_list ap)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment