summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authordudemanguy <random342@airmail.cc>2019-10-03 09:29:07 -0500
committerDudemanguy911 <random342@airmail.cc>2019-10-03 14:56:43 +0000
commitfd7aff7a9d9c45cb0f9ef1e7e7254e585b26a114 (patch)
tree448a0df1af3995ea42bc40eb7a78ddcdccd294b4 /DOCS
parent9d6ae83fdc254cf92d2f02bcd33ff66e5a900a1c (diff)
downloadmpv-fd7aff7a9d9c45cb0f9ef1e7e7254e585b26a114.tar.bz2
mpv-fd7aff7a9d9c45cb0f9ef1e7e7254e585b26a114.tar.xz
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.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions