mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
[MOVED FROM BAD 57/68] colorspace: Fix memleak
This commit is contained in:
parent
3c73b42cee
commit
4ae30538dc
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