Index: mpegtspacketizer.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/mpegtsparse/mpegtspacketizer.c,v
retrieving revision 1.25
diff -u -r1.25 mpegtspacketizer.c
--- mpegtspacketizer.c  9 May 2008 10:21:07 -0000       1.25
+++ mpegtspacketizer.c  1 Jul 2008 13:58:28 -0000
@@ -792,6 +792,8 @@
             "inner-fec", G_TYPE_STRING, fec_inner_str, NULL);
         gst_structure_set (transport, "delivery", GST_TYPE_STRUCTURE,
             delivery_structure, NULL);
+       gst_structure_free(delivery_structure);
+
       } else if ((delivery =
               gst_mpeg_descriptor_find (mpegdescriptor,
                   DESC_DVB_TERRESTRIAL_DELIVERY_SYSTEM))) {
@@ -921,6 +923,7 @@
             "other-frequency", G_TYPE_BOOLEAN, other_frequency, NULL);
         gst_structure_set (transport, "delivery", GST_TYPE_STRUCTURE,
             delivery_structure, NULL);
+       gst_structure_free(delivery_structure);
       } else if ((delivery =
               gst_mpeg_descriptor_find (mpegdescriptor,
                   DESC_DVB_CABLE_DELIVERY_SYSTEM))) {
@@ -1659,6 +1662,7 @@
         }
         gst_structure_set_value (event, "components", &components);
         g_array_free (component_descriptors, TRUE);
+       g_value_unset (&components);
       }
       gst_mpeg_descriptor_free (mpegdescriptor);
 
