[0.10] gst-plugins-bad: opusparse: fix caps leak
Tim Müller
tpm at kemper.freedesktop.org
Wed Jan 18 05:29:43 PST 2012
Module: gst-plugins-bad
Branch: 0.10
Commit: e6db10f617278cf86c6083ef55eca7a133bb1780
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=e6db10f617278cf86c6083ef55eca7a133bb1780
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Wed Jan 11 16:34:35 2012 +0000
opusparse: fix caps leak
---
ext/opus/gstopusparse.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c
index cdd035e..f6e45ec 100644
--- a/ext/opus/gstopusparse.c
+++ b/ext/opus/gstopusparse.c
@@ -317,6 +317,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
gst_buffer_replace (&parse->comment_header, NULL);
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
+ gst_caps_unref (caps);
parse->header_sent = TRUE;
}
More information about the gstreamer-commits
mailing list