[vlc-devel] [PATCH 1/3] mmal/deinterlace: Remove double pool allocation
Julian Scheel
julian at jusst.de
Thu Sep 4 12:55:10 CEST 2014
The mmal buffer pool was allocated twice by accident, which caused a leak of
the first one being allocated.
Signed-off-by: Julian Scheel <julian at jusst.de>
---
modules/hw/mmal/deinterlace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/hw/mmal/deinterlace.c b/modules/hw/mmal/deinterlace.c
index 7e5d447..8b3dba5 100644
--- a/modules/hw/mmal/deinterlace.c
+++ b/modules/hw/mmal/deinterlace.c
@@ -259,7 +259,6 @@ static int Open(filter_t *filter)
goto out;
}
- sys->output_pool = mmal_pool_create(sys->output->buffer_num, 0);
sys->output_pool = mmal_pool_create_with_allocator(sys->output->buffer_num,
sys->output->buffer_size, sys->output,
(mmal_pool_allocator_alloc_t)mmal_port_payload_alloc,
--
2.1.0
More information about the vlc-devel
mailing list