summaryrefslogtreecommitdiff
path: root/ext/fluidsynth
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-10-10 13:05:49 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-10-10 13:05:49 +0100
commit39a5c202636d319b18cdd27d27f9dd06e8d9ca97 (patch)
treefe67993e30e3e9e5957a645510809c1c59d17f13 /ext/fluidsynth
parent6df477ff0d01a08cf9e09a717b8d5b6d18bc3c6e (diff)
downloadgstreamer-plugins-bad-39a5c202636d319b18cdd27d27f9dd06e8d9ca97.tar.gz
fluiddec: don't leak incoming caps event
https://bugzilla.gnome.org/show_bug.cgi?id=738291
Diffstat (limited to 'ext/fluidsynth')
-rw-r--r--ext/fluidsynth/gstfluiddec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fluidsynth/gstfluiddec.c b/ext/fluidsynth/gstfluiddec.c
index 535b3f405..124825b78 100644
--- a/ext/fluidsynth/gstfluiddec.c
+++ b/ext/fluidsynth/gstfluiddec.c
@@ -322,6 +322,7 @@ gst_fluid_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
res = gst_pad_push_event (fluiddec->srcpad, gst_event_new_caps (caps));
gst_caps_unref (caps);
+ gst_event_unref (event);
break;
}
case GST_EVENT_SEGMENT: