Commit 4ae30538 authored by David Schleef's avatar David Schleef Committed by Wim Taymans

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

parent 3c73b42c
......@@ -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);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment