[vlc-commits] hls: Fixing a memory leak
Hugo Beauzée-Luyssen
git at videolan.org
Tue Feb 7 15:56:32 CET 2012
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Feb 6 12:05:21 2012 +0100| [f372e0fc69074921c1f5b02893770fbee8464ef6] | committer: Hugo Beauzée-Luyssen
hls: Fixing a memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f372e0fc69074921c1f5b02893770fbee8464ef6
---
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 536e228..23d5b6b 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2322,6 +2322,7 @@ static int Peek(stream_t *s, const uint8_t **pp_peek, unsigned int i_peek)
peeked = block_Realloc (peeked, 0, i_peek);
if (peeked == NULL)
return 0;
+ p_sys->peeked = peeked;
memcpy(peeked->p_buffer, p_buff, i_buff);
curlen = i_buff;
More information about the vlc-commits
mailing list