summaryrefslogtreecommitdiff
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-24 22:08:59 +0100
commit0ede0a2b614fe12bc3a904611bd82805118f79c8 (patch)
tree5dd9f98b1af4f09736c52de5f0db23af090bae1f
parent557c30ac13b44a3d1110eeb6f4bb29264080a28a (diff)
downloadgstreamer-plugins-bad-0ede0a2b614fe12bc3a904611bd82805118f79c8.tar.gz
fluiddec: don't leak incoming caps event
https://bugzilla.gnome.org/show_bug.cgi?id=738291
-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: