mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
colorspace: Fix memleak
This commit is contained in:
parent
5b90c31ca2
commit
3192e69c0c
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ gst_csp_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
|
|||
|
||||
space = GST_CSP (btrans);
|
||||
|
||||
if (space->convert) {
|
||||
colorspace_convert_free (space->convert);
|
||||
}
|
||||
|
||||
/* input caps */
|
||||
|
||||
ret = gst_video_format_parse_caps (incaps, &in_format, &in_width, &in_height);
|
||||
|
|
Loading…
Reference in a new issue