mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-17 20:08:37 +00:00
wildmidi: fix previous commit
We were leaking the element refcount and not the pad one.
This commit is contained in:
parent
f876bd0658
commit
4536c54469
|
@ -755,7 +755,7 @@ gst_wildmidi_sink_event (GstPad * pad, GstEvent * event)
|
|||
break;
|
||||
}
|
||||
|
||||
gst_object_unref (pad);
|
||||
gst_object_unref (wildmidi);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue