mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtpmux: Don't leak gvalue from iterator
This commit is contained in:
parent
bc1067ce4b
commit
73d57f1848
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ gst_rtp_mux_src_event_real (GstRTPMux * rtp_mux, GstEvent * event)
|
|||
case GST_ITERATOR_OK:
|
||||
gst_event_ref (event);
|
||||
result |= gst_pad_push_event (g_value_get_object (&item), event);
|
||||
g_value_reset (&item);
|
||||
break;
|
||||
case GST_ITERATOR_RESYNC:
|
||||
gst_iterator_resync (iter);
|
||||
|
|
Loading…
Reference in a new issue