bin: reset GValue from iterator after usage

This commit is contained in:
Wim Taymans 2013-02-07 12:50:08 +01:00
parent 51ebcaef74
commit 209631789a

View file

@ -2792,8 +2792,11 @@ gst_bin_send_event (GstElement * element, GstEvent * event)
gst_event_ref (event); gst_event_ref (event);
res &= gst_element_send_event (child, event); res &= gst_element_send_event (child, event);
GST_LOG_OBJECT (child, "After handling %s event: %d", GST_LOG_OBJECT (child, "After handling %s event: %d",
GST_EVENT_TYPE_NAME (event), res); GST_EVENT_TYPE_NAME (event), res);
g_value_reset (&data);
break; break;
} }
case GST_ITERATOR_RESYNC: case GST_ITERATOR_RESYNC: