[vlc-commits] ram: Fix leak
Hugo Beauzée-Luyssen
git at videolan.org
Mon Feb 15 12:17:46 CET 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 15 12:07:01 2016 +0100| [19e0b31150afbaf34256e52f5d85945398ab8dc6] | committer: Hugo Beauzée-Luyssen
ram: Fix leak
cid #1048920
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19e0b31150afbaf34256e52f5d85945398ab8dc6
---
modules/demux/playlist/ram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/playlist/ram.c b/modules/demux/playlist/ram.c
index fa85b07..569b99e 100644
--- a/modules/demux/playlist/ram.c
+++ b/modules/demux/playlist/ram.c
@@ -320,6 +320,7 @@ static int Demux( demux_t *p_demux )
}
else if( !strcmp( psz_param, "title" ) )
{
+ free( psz_title );
psz_title = vlc_uri_decode_duplicate(psz_value);
EnsureUTF8( psz_title );
}
More information about the vlc-commits
mailing list