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
@ -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,
|
||||
(GCompareFunc) _find_m3u8_list_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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user