]> git.sesse.net Git - vlc/commitdiff
mmal/deinterlace: Remove double pool allocation
authorJulian Scheel <julian@jusst.de>
Thu, 4 Sep 2014 10:55:10 +0000 (12:55 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Sep 2014 16:22:11 +0000 (18:22 +0200)
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@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/deinterlace.c

index 7e5d447652a80084f470ee889c455ebe35ebc8dd..8b3dba5e0fa511c2a952acfe09a6c5707a74d975 100644 (file)
@@ -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,