wayland opengl: actually call uninit if init fails
This is the proper fix to the memory leak @wm4 pointed out. It turns out that when you autoprobe opengl and vo_wayland_init returns false, vo_wayland_uninit is never actually executed. So you have a leftover pointer. The vulkan context does this correctly which was why my old, dumb "fix" broke it.
D
dudemanguy committed
fd7aff7a9d9c45cb0f9ef1e7e7254e585b26a114
Parent: 9d6ae83