gst/mpegdemux/mpegtsparse.c: Fix another memleak.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtsparse.c:
Fix another memleak.
This commit is contained in:
Sebastian Pölsterl 2008-11-04 18:03:55 +00:00 committed by Zaheer Abbas Merali
parent eca13dce9b
commit e6587d7dcc
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-11-04 Zaheer Abbas Merali <zaheerabbas at merali dot org>
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtsparse.c:
Fix another memleak.
2008-11-04 Zaheer Abbas Merali <zaheerabbas at merali dot org>
patch by: Sebastian Pölsterl

View file

@ -613,6 +613,7 @@ mpegts_parse_request_new_pad (GstElement * element, GstPadTemplate * template,
pad = mpegts_parse_create_tspad (parse, name)->pad;
gst_pad_set_active (pad, TRUE);
gst_element_add_pad (element, pad);
g_free (name);
return pad;
}