From e6587d7dcc0189d94452ab722e67cdde179fd58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20P=C3=B6lsterl?= Date: Tue, 4 Nov 2008 18:03:55 +0000 Subject: [PATCH] gst/mpegdemux/mpegtsparse.c: Fix another memleak. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix another memleak. --- ChangeLog | 7 +++++++ gst/mpegdemux/mpegtsparse.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index dce8ca52bb..380ef00959 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-04 Zaheer Abbas Merali + + patch by: Sebastian Pölsterl + + * gst/mpegdemux/mpegtsparse.c: + Fix another memleak. + 2008-11-04 Zaheer Abbas Merali patch by: Sebastian Pölsterl diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c index bb14fb4d9f..e4d179e5e0 100644 --- a/gst/mpegdemux/mpegtsparse.c +++ b/gst/mpegdemux/mpegtsparse.c @@ -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; }