mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
videoconvert: Fix leaking of the chroma resample helper objects
This commit is contained in:
parent
eabd2a5c7b
commit
eb09e561c4
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ videoconvert_convert_free (VideoConvert * convert)
|
||||||
{
|
{
|
||||||
gint i;
|
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++)
|
for (i = 0; i < convert->n_tmplines; i++)
|
||||||
g_free (convert->tmplines[i]);
|
g_free (convert->tmplines[i]);
|
||||||
g_free (convert->tmplines);
|
g_free (convert->tmplines);
|
||||||
|
|
Loading…
Reference in a new issue