video-converter: free dither_lines
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 6 Dec 2014 01:09:45 +0000 (22:09 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 6 Dec 2014 01:23:55 +0000 (22:23 -0300)
Avoid a memory leak

gst-libs/gst/video/video-converter.c

index 019591f..4350874 100644 (file)
@@ -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);