mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
rtspsrc: Don't leak sticky events
We have incremented the reference 2 lines above, and gst_pad_store_sticky_event() does not take a reference, therefore release it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3443>
This commit is contained in:
parent
1774d5c87a
commit
f3c2f612ce
1 changed files with 1 additions and 0 deletions
|
@ -3483,6 +3483,7 @@ copy_sticky_events (GstPad * pad, GstEvent ** event, gpointer user_data)
|
|||
gst_rtspsrc_update_src_event (data->src, data->stream,
|
||||
gst_event_ref (*event));
|
||||
gst_pad_store_sticky_event (data->stream->srcpad, new_event);
|
||||
gst_event_unref (new_event);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue