mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
hls: m3u8: don't leak GList nodes when matching up variant lists after master list update
This commit is contained in:
parent
ba8b8e4677
commit
3015cd75e4
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ gst_m3u8_client_update_variant_playlist (GstM3U8Client * self, gchar * data,
|
||||||
GList *match = g_list_find_custom (unmatched_lists, list_entry->data,
|
GList *match = g_list_find_custom (unmatched_lists, list_entry->data,
|
||||||
(GCompareFunc) _find_m3u8_list_match);
|
(GCompareFunc) _find_m3u8_list_match);
|
||||||
if (match)
|
if (match)
|
||||||
unmatched_lists = g_list_remove_link (unmatched_lists, match);
|
unmatched_lists = g_list_delete_link (unmatched_lists, match);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unmatched_lists != NULL) {
|
if (unmatched_lists != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue