wildmidi: fix previous commit

We were leaking the element refcount and not the pad one.
This commit is contained in:
Stefan Kost 2010-06-21 23:48:59 +03:00
parent f876bd0658
commit 4536c54469

View file

@ -755,7 +755,7 @@ gst_wildmidi_sink_event (GstPad * pad, GstEvent * event)
break;
}
gst_object_unref (pad);
gst_object_unref (wildmidi);
return res;
}