[vlc-devel] commit: Fix double free - CID 131 ( Rafaël Carré )

git version control git at videolan.org
Fri May 30 15:00:28 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri May 30 15:02:02 2008 +0200| [af5aece7d5356daadacec2e260df961be78d3b6c]

Fix double free - CID 131

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

 modules/stream_out/es.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/es.c b/modules/stream_out/es.c
index 0f67ed8..a8d1568 100644
--- a/modules/stream_out/es.c
+++ b/modules/stream_out/es.c
@@ -396,8 +396,6 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
 
     if( id->p_input == NULL )
     {
-        free( id );
-
         sout_MuxDelete( p_mux );
         sout_AccessOutDelete( p_access );
         free( id );




More information about the vlc-devel mailing list