[vlc-devel] commit: Removed an invalid free added by 15643af1 (subtitle demuxer). ( Laurent Aimar )

git version control git at videolan.org
Sat Dec 12 19:24:50 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Dec 12 19:22:26 2009 +0100| [5bd970397708402422ee941c210e32047ea4d741] | committer: Laurent Aimar 

Removed an invalid free added by 15643af1 (subtitle demuxer).

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

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

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 06bfaae..f36f02a 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -766,7 +766,6 @@ static int TextLoad( text_t *txt, stream_t *s )
             if( !txt->line )
                 return VLC_ENOMEM;
         }
-        free( psz );
     }
 
     if( txt->i_line_count <= 0 )




More information about the vlc-devel mailing list