summaryrefslogtreecommitdiff
path: root/ext/srtp
diff options
context:
space:
mode:
authorMiguel París Díaz <mparisdiaz@gmail.com>2014-06-17 11:48:12 +0200
committerWim Taymans <wtaymans@redhat.com>2014-06-18 15:54:08 +0200
commitbf003caf9d75d05aed9cfefda3cde025520edc89 (patch)
tree9fcdf1609c38a6b64ae289d8564db2abfc289ce8 /ext/srtp
parent52d4b7de076f5b964ca5dfb904b9bf8408781f29 (diff)
downloadgstreamer-plugins-bad-bf003caf9d75d05aed9cfefda3cde025520edc89.tar.gz
gstsrtpenc: unref event when needed
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731768
Diffstat (limited to 'ext/srtp')
-rw-r--r--ext/srtp/gstsrtpenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c
index 2dd4bc990..20d3e3655 100644
--- a/ext/srtp/gstsrtpenc.c
+++ b/ext/srtp/gstsrtpenc.c
@@ -1190,6 +1190,7 @@ gst_srtp_enc_sink_event (GstPad * pad, GstObject * parent, GstEvent * event,
gst_event_parse_caps (event, &caps);
ret = gst_srtp_enc_sink_setcaps (pad, filter, caps, is_rtcp);
+ gst_event_unref (event);
break;
}
default: