wildmidi: don't leak the element refcount

This commit is contained in:
Stefan Kost 2010-06-21 22:33:54 +03:00
parent 02cc3313b4
commit f876bd0658

View file

@ -754,6 +754,8 @@ gst_wildmidi_sink_event (GstPad * pad, GstEvent * event)
res = gst_pad_push_event (wildmidi->srcpad, event);
break;
}
gst_object_unref (pad);
return res;
}