goom*: fix leaked caps event

This commit is contained in:
Mark Nauwelaerts 2012-02-17 17:57:03 +01:00
parent e71c7dc8f9
commit fdfe4ed445
2 changed files with 2 additions and 0 deletions

View file

@ -383,6 +383,7 @@ gst_goom_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_event_parse_caps (event, &caps);
res = gst_goom_sink_setcaps (goom, caps);
gst_event_unref (event);
break;
}
case GST_EVENT_FLUSH_START:

View file

@ -379,6 +379,7 @@ gst_goom_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_event_parse_caps (event, &caps);
res = gst_goom_sink_setcaps (goom, caps);
gst_event_unref (event);
break;
}
case GST_EVENT_FLUSH_START: