diff options
author | Sebastian Pölsterl <marduk@k-d-w.org> | 2008-11-04 17:25:09 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-11-04 17:25:09 +0000 |
commit | eca13dce9b09fa3d97ef0fe1c925ea1edb0525b7 (patch) | |
tree | ecdd254b47c7ab7bdf5aef26358729636bf0a63d /sys | |
parent | a14e8e07df0b3be5a3a444f2ba3261fbec4bcdcc (diff) | |
download | gst-plugins-bad-eca13dce9b09fa3d97ef0fe1c925ea1edb0525b7.tar.gz gst-plugins-bad-eca13dce9b09fa3d97ef0fe1c925ea1edb0525b7.tar.bz2 gst-plugins-bad-eca13dce9b09fa3d97ef0fe1c925ea1edb0525b7.zip |
Fix memleaks.
Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtspacketizer.c:
* sys/dvb/gstdvbsrc.c:
Fix memleaks.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dvb/gstdvbsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index 6f656c89..1aa0d621 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -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; |