mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
Fix memleaks.
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtspacketizer.c: * sys/dvb/gstdvbsrc.c: Fix memleaks.
This commit is contained in:
parent
a14e8e07df
commit
eca13dce9b
3 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-11-04 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
patch by: Sebastian Pölsterl
|
||||
|
||||
* gst/mpegdemux/mpegtspacketizer.c:
|
||||
* sys/dvb/gstdvbsrc.c:
|
||||
Fix memleaks.
|
||||
|
||||
2008-11-04 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/alsaspdif/Makefile.am:
|
||||
|
|
|
@ -1018,6 +1018,11 @@ mpegts_packetizer_parse_nit (MpegTSPacketizer * packetizer,
|
|||
gst_structure_set (transport, "delivery", GST_TYPE_STRUCTURE,
|
||||
delivery_structure, NULL);
|
||||
}
|
||||
/* free the temporary delivery structure */
|
||||
if (delivery_structure != NULL) {
|
||||
gst_structure_free (delivery_structure);
|
||||
delivery_structure = NULL;
|
||||
}
|
||||
if ((delivery =
|
||||
gst_mpeg_descriptor_find (mpegdescriptor,
|
||||
DESC_DTG_LOGICAL_CHANNEL))) {
|
||||
|
|
|
@ -523,6 +523,8 @@ gst_dvbsrc_set_property (GObject * _object, guint prop_id,
|
|||
char **tmp;
|
||||
|
||||
tmp = pids = g_strsplit (pid_string, ":", MAX_FILTERS);
|
||||
if (pid_string)
|
||||
g_free (pid_string);
|
||||
|
||||
/* always add the PAT and CAT pids */
|
||||
object->pids[0] = 0;
|
||||
|
|
Loading…
Reference in a new issue