[vlc-commits] vout: fix leak
Rémi Denis-Courmont
git at videolan.org
Sat Jan 26 17:16:27 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 17:32:30 2019 +0200| [257fdbe9d8ef2cc24ad992ebbf884cb3d9c0f615] | committer: Rémi Denis-Courmont
vout: fix leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=257fdbe9d8ef2cc24ad992ebbf884cb3d9c0f615
---
src/video_output/video_output.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 13e700ad1f..936eaa4090 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1557,6 +1557,7 @@ static int ThreadReinit(vout_thread_t *vout,
dcfg.zoom.den = 1;
}
+ video_format_Clean(&vout->p->original);
vout->p->original = original;
vout->p->dpb_size = cfg->dpb_size;
if (ThreadStart(vout, &dcfg))
More information about the vlc-commits
mailing list