summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth263parse.c
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-07-29 12:56:54 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-07-29 09:25:47 +0100
commit9b43bed6073b72b1a66a43a260cf38b309fe8773 (patch)
treefa2fac066b67d189c56ee660be1d4b7c46ed3e1b /gst/videoparsers/gsth263parse.c
parent730b5c8aa240162f6b1cd7ac4db67b00a58f0073 (diff)
downloadgstreamer-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.c2
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