diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-07-29 12:56:54 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-29 09:25:47 +0100 |
commit | 9b43bed6073b72b1a66a43a260cf38b309fe8773 (patch) | |
tree | fa2fac066b67d189c56ee660be1d4b7c46ed3e1b /gst/videoparsers/gsth263parse.c | |
parent | 730b5c8aa240162f6b1cd7ac4db67b00a58f0073 (diff) | |
download | gstreamer-plugins-bad-9b43bed6073b72b1a66a43a260cf38b309fe8773.tar.gz |
h263parse: fix caps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=752991
Diffstat (limited to 'gst/videoparsers/gsth263parse.c')
-rw-r--r-- | gst/videoparsers/gsth263parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth263parse.c b/gst/videoparsers/gsth263parse.c index 454e84b5d..9b12997fa 100644 --- a/gst/videoparsers/gsth263parse.c +++ b/gst/videoparsers/gsth263parse.c @@ -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 |