[vlc-commits] asx: fix memory leak
    Hannes Domani 
    git at videolan.org
       
    Fri Feb  5 19:52:19 CET 2016
    
    
  
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Jan 29 16:01:56 2016 +0100| [ac4936034c726408fa4fae5e5c8d190434dd0740] | committer: Jean-Baptiste Kempf
asx: fix memory leak
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac4936034c726408fa4fae5e5c8d190434dd0740
---
 modules/demux/playlist/asx.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 222999f..13c1237 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -285,6 +285,8 @@ static void ProcessEntry( int *pi_n_entry, xml_reader_t *p_xml_reader,
 
                 input_item_node_AppendItem( p_subitems, p_entry );
 
+                input_item_Release( p_entry );
+
                 while( i_options )
                     free( ppsz_options[--i_options] );
                 free( psz_name );
    
    
More information about the vlc-commits
mailing list