[vlc-commits] hls: Fixing a memory leak.
Hugo Beauzée-Luyssen
git at videolan.org
Thu Feb 23 18:34:59 CET 2012
vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Feb 23 18:16:30 2012 +0100| [99dffe66e0b10172e3d4437791be99ab993a173f] | committer: Jean-Baptiste Kempf
hls: Fixing a memory leak.
(cherry picked from commit 3844c07d1036d0e769c03327102ce30c89aafd4d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=99dffe66e0b10172e3d4437791be99ab993a173f
---
modules/stream_filter/httplive.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 578cf80..3505d16 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -274,6 +274,7 @@ static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments)
return NULL;
}
vlc_UrlParse(&dst->url, uri, 0);
+ free( uri );
if (!b_cp_segments)
dst->segments = vlc_array_new();
vlc_mutex_init(&dst->lock);
More information about the vlc-commits
mailing list