mpegtsbase: Don't forget to free the program streams array

https://bugzilla.gnome.org/show_bug.cgi?id=648929
This commit is contained in:
Edward Hervey 2011-04-29 12:08:38 +02:00
parent 390502a093
commit c26ca36cf0

View File

@ -429,6 +429,7 @@ mpegts_base_free_program (MpegTSBaseProgram * program)
for (i = 0; i < 0x2000; i++)
if (program->streams[i])
mpegts_base_free_stream (program->streams[i]);
g_free (program->streams);
if (program->tags)
gst_tag_list_free (program->tags);