mpegtsbase: Don't leak GList

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
Edward Hervey 2022-11-11 14:37:17 +01:00 committed by Edward Hervey
parent f8f3615585
commit 00133ebbe4

View file

@ -765,6 +765,7 @@ mpegts_base_update_program (MpegTSBase * base, MpegTSBaseProgram * program,
MpegTSBaseStream *stream = (MpegTSBaseStream *) tmp->data;
mpegts_base_program_remove_stream (base, program, stream->pid);
}
g_list_free (toremove);
return TRUE;
}