videoconvert: Fix leaking of the chroma resample helper objects
This commit is contained in:
parent
eabd2a5c7b
commit
eb09e561c4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user