mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
h263parse: fix caps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=752991
This commit is contained in:
parent
730b5c8aa2
commit
9b43bed607
1 changed files with 2 additions and 0 deletions
|
@ -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_pad_set_caps (GST_BASE_PARSE_SRC_PAD (GST_BASE_PARSE (h263parse)), caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
if (sink_caps)
|
||||||
|
gst_caps_unref (sink_caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
|
Loading…
Reference in a new issue