egl/wayland: fix oob buffer access during buffer_fds clean up
After iterating through the number of planes in the above for loop i is more than the number of planes which corresponds to the size of the buffer_fds array.
Fixes: 967b9ad0 ("egl/wayland: for prime, allocate linear_copy from display GPU VRAM") Signed-off-by: David Redondo kde@david-redondo.de Reviewed-by: Simon Ser contact@emersion.fr
Edited by David Redondo