[vlc-commits] mux: mp4: fix memory leak
Hannes Domani
git at videolan.org
Fri Feb 26 18:02:04 CET 2016
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Feb 26 17:49:19 2016 +0100| [99006dfe74c88462d270c234e04783e9c7fe96ed] | committer: Jean-Baptiste Kempf
mux: mp4: fix memory leak
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99006dfe74c88462d270c234e04783e9c7fe96ed
---
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;
}
More information about the vlc-commits
mailing list