[vlc-commits] Fixed a small leak when the rar stream_filter recognize the stream.

Laurent Aimar git at videolan.org
Sun Dec 11 20:20:00 CET 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 11 20:11:55 2011 +0100| [5ab028110839f1bc3412a0cab383e27bb675de3d] | committer: Laurent Aimar

Fixed a small leak when the rar stream_filter recognize the stream.

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

 modules/access/rar/stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access/rar/stream.c b/modules/access/rar/stream.c
index 3b9aa13..33bc7cb 100644
--- a/modules/access/rar/stream.c
+++ b/modules/access/rar/stream.c
@@ -129,6 +129,7 @@ static int Open(vlc_object_t *object)
         }
         RarFileDelete(f);
     }
+    free(base);
     free(files);
     if (!data)
         return VLC_EGENERIC;



More information about the vlc-commits mailing list