examples: Fix leak

This commit is contained in:
Edward Hervey 2017-01-31 16:47:32 +01:00 committed by Edward Hervey
parent e6ee68a34f
commit 21889bf878

View file

@ -155,6 +155,7 @@ switch_streams (MyDataStruct * data)
ev = gst_event_new_select_streams (streams);
gst_element_send_event (data->pipeline, ev);
g_list_free (streams);
return G_SOURCE_CONTINUE;
}