[vlc-commits] video_filter: rss: fix leak on repeats (cid #1253113)
Francois Cartegnie
git at videolan.org
Fri Jan 1 18:17:55 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 1 17:49:46 2016 +0100| [2b24884ff2934f3081a43ecea7ef06bb8b2f8c12] | committer: Francois Cartegnie
video_filter: rss: fix leak on repeats (cid #1253113)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b24884ff2934f3081a43ecea7ef06bb8b2f8c12
---
modules/video_filter/rss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_filter/rss.c b/modules/video_filter/rss.c
index 5ce3930..227bcc3 100644
--- a/modules/video_filter/rss.c
+++ b/modules/video_filter/rss.c
@@ -704,6 +704,7 @@ static bool ParseFeed( filter_t *p_filter, xml_reader_t *p_xml_reader,
#ifdef RSS_DEBUG
msg_Dbg( p_filter, "element <%s>", node );
#endif
+ free(psz_eltname);
psz_eltname = strdup( node );
if( unlikely(!psz_eltname) )
goto end;
More information about the vlc-commits
mailing list