vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Mon 
Feb  6 12:05:21 2012 +0100| [fe06664fb76b713248d43411347ae09dba4a4886] | 
committer: Jean-Baptiste Kempf

hls: Fixing a memory leak
(cherry picked from commit f372e0fc69074921c1f5b02893770fbee8464ef6)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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 c343986..21923dd 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2316,6 +2316,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;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to