Commit 7cc37b37 authored by Laurent Aimar's avatar Laurent Aimar

Fixed memory leak in glwin32.

parent a9873b81
...@@ -191,7 +191,8 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic ...@@ -191,7 +191,8 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
vout_display_opengl_Display(sys->vgl, &vd->source); vout_display_opengl_Display(sys->vgl, &vd->source);
picture_Release(picture); picture_Release(picture);
VLC_UNUSED(subpicture); if (subpicture)
subpicture_Delete(subpicture);
CommonDisplay(vd); CommonDisplay(vd);
} }
......
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