mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
wildmidi: don't leak the element refcount
This commit is contained in:
parent
02cc3313b4
commit
f876bd0658
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue