summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMiguel París Díaz <mparisdiaz@gmail.com>2014-01-03 09:59:34 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-01-03 10:46:29 +0100
commite944195b64d766fb17b586a3dd0303c4a1a7978d (patch)
tree63275c97d90bd688804e6955914d96e0532673dc /ext
parent8663611af50f0b510b432e8318ef0f019292a5e6 (diff)
srtpdec: Fix GstCaps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=721382
Diffstat (limited to 'ext')
-rw-r--r--ext/srtp/gstsrtpdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/srtp/gstsrtpdec.c b/ext/srtp/gstsrtpdec.c
index da320c9c0..29ee9acd5 100644
--- a/ext/srtp/gstsrtpdec.c
+++ b/ext/srtp/gstsrtpdec.c
@@ -797,6 +797,7 @@ gst_srtp_dec_sink_query (GstPad * pad, GstObject * parent, GstQuery * query,
}
gst_query_set_caps_result (query, ret);
+ gst_caps_unref (ret);
return TRUE;
return_template: