mpegts: atsc: fix leak of short name
authorThiago Santos <ts.santos@sisa.samsung.com>
Tue, 8 Jul 2014 18:43:32 +0000 (15:43 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Tue, 8 Jul 2014 18:43:32 +0000 (15:43 -0300)
gst-libs/gst/mpegts/gst-atsc-section.c

index fe97cad..021c8e6 100644 (file)
@@ -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);