[vlc-devel] commit: Fix CID 138 release psz_unicode instead of psz_line. This resulted in use afer free error. (Jean-Paul Saman )

git version control git at videolan.org
Sat May 31 15:56:08 CEST 2008


vlc | branch: 0.8.6-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Sat May 31 15:57:32 2008 +0200| [d05acf36e36145b03d053be7a5133c8dc020b915]

Fix CID 138 release psz_unicode instead of psz_line. This resulted in use afer free error.

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

 modules/demux/playlist/old.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/playlist/old.c b/modules/demux/playlist/old.c
index 9b9754e..e3ae7d3 100644
--- a/modules/demux/playlist/old.c
+++ b/modules/demux/playlist/old.c
@@ -2,7 +2,7 @@
  * old.c : Old playlist format import
  *****************************************************************************
  * Copyright (C) 2004 the VideoLAN team
- * $Id$
+ * $Id: 9b9754e379d0619131fb309ee958042866a8be2f $
  *
  * Authors: Clément Stenac <zorglub at videolan.org>
  *
@@ -105,7 +105,7 @@ static int Demux( demux_t *p_demux)
                       PLAYLIST_END );
 
         free( psz_line );
-        LocaleFree( psz_line );
+        LocaleFree( psz_unicode );
     }
 
     p_demux->b_die = VLC_TRUE;




More information about the vlc-devel mailing list