shout2send: Unref event at the end of the event function

The function takes ownership of it and should get rid of it at the end.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7992>
This commit is contained in:
Sebastian Dröge 2024-11-28 12:56:33 +02:00 committed by GStreamer Marge Bot
parent acf1efbf8d
commit 4a040aa11d

View file

@ -491,6 +491,8 @@ gst_shout2send_event (GstBaseSink * sink, GstEvent * event)
}
}
gst_event_unref (event);
return ret;
}