mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
rtpmux: Don't leak gvalue from iterator
This commit is contained in:
parent
ccc4b960fc
commit
21831b430f
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:
|
case GST_ITERATOR_OK:
|
||||||
gst_event_ref (event);
|
gst_event_ref (event);
|
||||||
result |= gst_pad_push_event (g_value_get_object (&item), event);
|
result |= gst_pad_push_event (g_value_get_object (&item), event);
|
||||||
|
g_value_reset (&item);
|
||||||
break;
|
break;
|
||||||
case GST_ITERATOR_RESYNC:
|
case GST_ITERATOR_RESYNC:
|
||||||
gst_iterator_resync (iter);
|
gst_iterator_resync (iter);
|
||||||
|
|
Loading…
Reference in a new issue