diff --git a/gst/videoconvert/videoconvert.c b/gst/videoconvert/videoconvert.c index 55f9c2df87..c1013317ba 100644 --- a/gst/videoconvert/videoconvert.c +++ b/gst/videoconvert/videoconvert.c @@ -90,6 +90,11 @@ videoconvert_convert_free (VideoConvert * convert) { gint i; + if (convert->upsample) + gst_video_chroma_resample_free (convert->upsample); + if (convert->downsample) + gst_video_chroma_resample_free (convert->downsample); + for (i = 0; i < convert->n_tmplines; i++) g_free (convert->tmplines[i]); g_free (convert->tmplines);