h263parse: fix caps memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=752991
This commit is contained in:
Vineeth TM 2015-07-29 12:56:54 +09:00 committed by Tim-Philipp Müller
parent 730b5c8aa2
commit 9b43bed607

View file

@ -277,6 +277,8 @@ gst_h263_parse_set_src_caps (GstH263Parse * h263parse,
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (GST_BASE_PARSE (h263parse)), caps);
gst_caps_unref (caps);
if (sink_caps)
gst_caps_unref (sink_caps);
}
static GstFlowReturn