summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@sisa.samsung.com>2014-07-08 15:43:32 -0300
committerThiago Santos <ts.santos@sisa.samsung.com>2014-07-08 15:43:32 -0300
commit1d233b751636b2c7080e3f446664e85fb58c27b3 (patch)
treed50e08193975703e5d324100530108b47b12753b
parent2874bff3922eda34fb38bfbcac90472b5a0ddb61 (diff)
downloadgstreamer-plugins-bad-1d233b751636b2c7080e3f446664e85fb58c27b3.tar.gz
mpegts: atsc: fix leak of short name
-rw-r--r--gst-libs/gst/mpegts/gst-atsc-section.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/mpegts/gst-atsc-section.c b/gst-libs/gst/mpegts/gst-atsc-section.c
index fe97cada2..021c8e607 100644
--- a/gst-libs/gst/mpegts/gst-atsc-section.c
+++ b/gst-libs/gst/mpegts/gst-atsc-section.c
@@ -49,6 +49,7 @@ _gst_mpegts_atsc_vct_source_copy (GstMpegtsAtscVCTSource * source)
static void
_gst_mpegts_atsc_vct_source_free (GstMpegtsAtscVCTSource * source)
{
+ g_free (source->short_name);
if (source->descriptors)
g_ptr_array_unref (source->descriptors);
g_slice_free (GstMpegtsAtscVCTSource, source);