[vlc-devel] [PATCH 5/7] mux: mp4: fix memory leak

Hannes Domani ssbssa at yahoo.de
Fri Feb 26 17:49:19 CET 2016


---
 modules/mux/mp4/libmp4mux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 2f1e96e..10e1d81 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -764,6 +764,7 @@ static bo_t *GetHvcCTag(es_format_t *p_fmt, bool b_completeness)
             bo_add_mem(hvcC, p_nal->i_buffer, p_nal->p_buffer);
         }
     }
+    free(p_sei);
     return hvcC;
 }
 
-- 
2.7.1



More information about the vlc-devel mailing list