summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: