From 5db596495bc72d4cfd0dc1970a21ff578ccf63b9 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 5 Dec 2014 22:09:45 -0300 Subject: [PATCH] video-converter: free dither_lines Avoid a memory leak --- gst-libs/gst/video/video-converter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c index 019591f..4350874 100644 --- a/gst-libs/gst/video/video-converter.c +++ b/gst-libs/gst/video/video-converter.c @@ -1803,6 +1803,8 @@ gst_video_converter_free (GstVideoConverter * convert) gst_line_cache_free (convert->to_YUV_lines); if (convert->downsample_lines) gst_line_cache_free (convert->downsample_lines); + if (convert->dither_lines) + gst_line_cache_free (convert->dither_lines); if (convert->dither) gst_video_dither_free (convert->dither); -- 2.7.4