[vlc-commits] stream_filter: smooth: fix leak (cid #1211818)

Tristan Matthews git at videolan.org
Sun Aug 10 20:17:08 CEST 2014


vlc/vlc-2.2 | branch: master | Tristan Matthews <le.businessman at gmail.com> | Sat Aug  9 20:46:38 2014 -0400| [68906550c1030f5d000236f04bddb4a53690db04] | committer: Jean-Baptiste Kempf

stream_filter: smooth: fix leak (cid #1211818)

(cherry picked from commit 887e8f05876f380ab264f382ba905599c5d8a59e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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