[vlc-devel] commit: Memory leak (CID #104) ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jul 1 22:26:36 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jul  1 23:27:42 2008 +0300| [be30b646722da84ae6837a05bb9dd7cdb117aa53]

Memory leak (CID #104)

Again, I wonder why the heck this was a tagged as a FALSE positive.

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

 src/input/es_out.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index b3ad712..a6cee0e 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2,7 +2,7 @@
  * es_out.c: Es Out handler for input.
  *****************************************************************************
  * Copyright (C) 2003-2004 the VideoLAN team
- * $Id$
+ * $Id: b3ad712a7299edc31a6a94bb6e44e877d17c246e $
  *
  * Authors: Laurent Aimar <fenrir at via.ecp.fr>
  *          Jean-Paul Saman <jpsaman #_at_# m2x dot nl>
@@ -1555,6 +1555,8 @@ static char **LanguageSplit( const char *psz_langs )
         {
             TAB_APPEND( i_psz, ppsz, psz_code );
         }
+        else
+            free( psz_code );
 
         psz_parser = psz;
     }




More information about the vlc-devel mailing list