summaryrefslogtreecommitdiff
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-06 11:01:43 +0100
commitceb56e3510d704ca06e487e3f1ae558466e893d7 (patch)
tree2e7caf411a3e6992e620073f745b5e8a0ab35a79
parent32d05167055f7970b820f1702a407000b38bfc2b (diff)
downloadgstreamer-plugins-bad-ceb56e3510d704ca06e487e3f1ae558466e893d7.tar.gz
srtpdec: Fix GstCaps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=721382
-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 50af82903..68376614a 100644
--- a/ext/srtp/gstsrtpdec.c
+++ b/ext/srtp/gstsrtpdec.c
@@ -770,6 +770,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: