[vlc-commits] display: fix filter leak
Rémi Denis-Courmont
git at videolan.org
Sat Jan 26 15:24:09 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 16:23:18 2019 +0200| [40470180ee156accdf4280bf88b36130015ba994] | committer: Rémi Denis-Courmont
display: fix filter leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=40470180ee156accdf4280bf88b36130015ba994
---
src/video_output/display.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index ce9a8ddd56..667bf3678b 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -484,6 +484,8 @@ static void vout_display_Reset(vout_display_t *vd)
osys->pool = NULL;
}
+ VoutDisplayDestroyRender(vd);
+
if (vout_display_Control(vd, VOUT_DISPLAY_RESET_PICTURES, &osys->cfg,
&vd->fmt)
|| VoutDisplayCreateRender(vd))
More information about the vlc-commits
mailing list