Skip to content

egl: free device on return

Erik Faye-Lund requested to merge kusma/mesa:egl-fix-leak into main

Now that we no longer add the device in this function, exiting it means we are done with the device. So let's free it, to avoid a leak.

Fixes: 3a9e1014 ("egl: Rename _eglAddDevice() to _eglFindDevice()")

Merge request reports

Loading