summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Pölsterl <marduk@k-d-w.org>2008-11-04 18:03:55 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-11-04 18:03:55 +0000
commite6587d7dcc0189d94452ab722e67cdde179fd58f (patch)
treec8a5467b9cf28036d6a0119a0bb2a334eb36a39a /gst
parenteca13dce9b09fa3d97ef0fe1c925ea1edb0525b7 (diff)
downloadgst-plugins-bad-e6587d7dcc0189d94452ab722e67cdde179fd58f.tar.gz
gst-plugins-bad-e6587d7dcc0189d94452ab722e67cdde179fd58f.tar.bz2
gst-plugins-bad-e6587d7dcc0189d94452ab722e67cdde179fd58f.zip
gst/mpegdemux/mpegtsparse.c: Fix another memleak.
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix another memleak.
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/mpegtsparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c
index bb14fb4d..e4d179e5 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;
}