[vlc-commits] hls: Fixing a memory leak.
Hugo Beauzée-Luyssen
git at videolan.org
Thu Feb 23 18:19:23 CET 2012
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Feb 23 18:16:30 2012 +0100| [3844c07d1036d0e769c03327102ce30c89aafd4d] | committer: Hugo Beauzée-Luyssen
hls: Fixing a memory leak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3844c07d1036d0e769c03327102ce30c89aafd4d
---
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