[vlc-commits] playlist: dvb: memleak

Francois Cartegnie git at videolan.org
Wed Jan 6 14:25:49 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan  6 00:29:16 2016 +0100| [5f91ca68e26cc00957281c5cfa89d753ab254cea] | committer: Francois Cartegnie

playlist: dvb: memleak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f91ca68e26cc00957281c5cfa89d753ab254cea
---

 modules/demux/playlist/dvb.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/playlist/dvb.c b/modules/demux/playlist/dvb.c
index 94289a4..1e13925 100644
--- a/modules/demux/playlist/dvb.c
+++ b/modules/demux/playlist/dvb.c
@@ -87,6 +87,7 @@ static int Demux(demux_t *demux)
     while ((line = stream_ReadLine(demux->s)) != NULL)
     {
         input_item_t *item = ParseLine(line);
+        free(line);
         if (item == NULL)
             continue;
 



More information about the vlc-commits mailing list