[vlc-commits] stream_filter: smooth: fix leak (cid #1211818)
    Tristan Matthews 
    git at videolan.org
       
    Sun Aug 10 02:48:45 CEST 2014
    
    
  
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Sat Aug  9 20:46:38 2014 -0400| [887e8f05876f380ab264f382ba905599c5d8a59e] | committer: Tristan Matthews
stream_filter: smooth: fix leak (cid #1211818)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=887e8f05876f380ab264f382ba905599c5d8a59e
---
 modules/stream_filter/smooth/smooth.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/stream_filter/smooth/smooth.c b/modules/stream_filter/smooth/smooth.c
index 59f1e67..e3be190 100644
--- a/modules/stream_filter/smooth/smooth.c
+++ b/modules/stream_filter/smooth/smooth.c
@@ -173,6 +173,7 @@ static int parse_Manifest( stream_t *s )
                 }
                 else if( !strcmp( node, "StreamIndex" ) )
                 {
+                    sms_Free( sms );
                     sms = sms_New();
                     if( unlikely( !sms ) )
                     {
    
    
More information about the vlc-commits
mailing list