[vlc-commits] Fixed a small leak when the rar stream_filter recognize the stream.
Laurent Aimar
git at videolan.org
Sun Dec 11 23:35:29 CET 2011
vlc/vlc-1.2 | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 11 20:11:55 2011 +0100| [7faf636b677a64464b0894637acdd6aac9e8091b] | committer: Jean-Baptiste Kempf
Fixed a small leak when the rar stream_filter recognize the stream.
(cherry picked from commit 5ab028110839f1bc3412a0cab383e27bb675de3d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=7faf636b677a64464b0894637acdd6aac9e8091b
---
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