]> git.sesse.net Git - vlc/commitdiff
stream_filter: smooth: fix leak (cid #1211818)
authorTristan Matthews <le.businessman@gmail.com>
Sun, 10 Aug 2014 00:46:38 +0000 (20:46 -0400)
committerTristan Matthews <le.businessman@gmail.com>
Sun, 10 Aug 2014 00:46:38 +0000 (20:46 -0400)
modules/stream_filter/smooth/smooth.c

index 59f1e67709f401fab767b15a597d10de43da8486..e3be19075c38ca4fd234a68c2a4487dca84ea32a 100644 (file)
@@ -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 ) )
                     {