mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
examples: Fix leak
This commit is contained in:
parent
e6ee68a34f
commit
21889bf878
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue