urisourcebin: Fix typefind list leak

https://bugzilla.gnome.org/show_bug.cgi?id=780257
This commit is contained in:
Seungha Yang 2017-03-19 13:51:24 +09:00 committed by Sebastian Dröge
parent d759eb46dc
commit 587c417d89

View file

@ -2162,7 +2162,7 @@ remove_source (GstURISourceBin * urisrc)
gst_element_set_state (typefind, GST_STATE_NULL); gst_element_set_state (typefind, GST_STATE_NULL);
gst_bin_remove (GST_BIN_CAST (urisrc), typefind); gst_bin_remove (GST_BIN_CAST (urisrc), typefind);
} }
g_list_free (urisrc->typefinds);
urisrc->typefinds = NULL; urisrc->typefinds = NULL;
} }