[MOVED FROM BAD 57/68] colorspace: Fix memleak

This commit is contained in:
David Schleef 2011-02-19 13:13:13 -08:00 committed by Wim Taymans
parent 3c73b42cee
commit 4ae30538dc

View file

@ -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);