mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
rtspsrc: fix major memory leak when playing back rtsp video streams
Don't forget to unref QoS, navigation and latency events when dropping them.
This commit is contained in:
parent
d0b25845ec
commit
24b93d82ec
1 changed files with 1 additions and 0 deletions
|
@ -1699,6 +1699,7 @@ gst_rtspsrc_handle_internal_src_event (GstPad * pad, GstEvent * event)
|
|||
case GST_EVENT_NAVIGATION:
|
||||
case GST_EVENT_LATENCY:
|
||||
default:
|
||||
gst_event_unref (event);
|
||||
res = TRUE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue