[vlc-devel] commit: demux_xspf: fix double free (introduced by myself). ( Rémi Duraffort )

git version control git at videolan.org
Mon Aug 17 14:36:04 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Aug 17 14:21:30 2009 +0200| [b9a78ce5cf714cf0312bf24d7dc10ed6dcba76c7] | committer: Rémi Duraffort 

demux_xspf: fix double free (introduced by myself).

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

 modules/demux/playlist/xspf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index 705949c..e0f1cb6 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -731,6 +731,7 @@ static bool parse_extension_node COMPLEX_INTERFACE
             FREE_VALUE();
         }
         FREE_NAME();
+        psz_value = NULL;
     }
 
     /* attribute title is mandatory except for <extension> */




More information about the vlc-devel mailing list