Skip to content
Commit 63fc73d1 authored by Marius Vlad's avatar Marius Vlad
Browse files

gl-renderer: Assume num images the same as the no of planes



Potential failures when creating the EGL image could cause an incorrect
number of num images (num_planes > num_images). With this change
egl_image_unref() requires an additional check to avoid any potential NULL
derefs when cleaning up. We do it straight in egl_image_unref() instead
of adding guards all over the necessary parts.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 2a6ea687
Loading
Loading
Loading
Pipeline #365050 passed with stages
in 2 minutes and 34 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment