[vlc-devel] [PATCH 6/6] mmal/vout: Fix memory leak
Julian Scheel
julian at jusst.de
Fri Aug 29 09:09:38 CEST 2014
sys->pictures was allocated but not freed.
Signed-off-by: Julian Scheel <julian at jusst.de>
---
modules/hw/mmal/vout.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index 667edf0..901f8bd 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -339,6 +339,7 @@ static void Close(vlc_object_t *object)
vlc_cond_destroy(&sys->buffer_cond);
vlc_mutex_destroy(&sys->manage_mutex);
+ free(sys->pictures);
free(sys);
bcm_host_deinit();
--
2.1.0
More information about the vlc-devel
mailing list