summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorSebastian Pölsterl <sebp@k-d-w.org>2008-12-29 16:29:08 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-12-29 16:29:08 +0000
commit21b795ef9e386b2b56f8fab9e04d4beddc85dcde (patch)
tree43d6c81162b79e0bbe4f2d0b064d65ba0a18950a /gst/mpegdemux
parentb4152f7308c248ebb5c106da67bd8c52212287e1 (diff)
downloadgst-plugins-bad-21b795ef9e386b2b56f8fab9e04d4beddc85dcde.tar.gz
gst-plugins-bad-21b795ef9e386b2b56f8fab9e04d4beddc85dcde.tar.bz2
gst-plugins-bad-21b795ef9e386b2b56f8fab9e04d4beddc85dcde.zip
gst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614.
Original commit message from CVS: Patch by: Sebastian Pölsterl <sebp at k-d-w dot org> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_eit): Fix memleak. Fixes #565614.
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r--gst/mpegdemux/mpegtspacketizer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c
index 2c0b946d..ea093c43 100644
--- a/gst/mpegdemux/mpegtspacketizer.c
+++ b/gst/mpegdemux/mpegtspacketizer.c
@@ -1771,6 +1771,7 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer,
}
}
gst_structure_set_value (event, "components", &components);
+ g_value_unset (&components);
g_array_free (component_descriptors, TRUE);
}
gst_mpeg_descriptor_free (mpegdescriptor);