summaryrefslogtreecommitdiffstats
path: root/Copyright
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-07 00:59:25 +0100
committerwm4 <wm4@nowhere>2014-01-07 01:07:50 +0100
commit326d887a41dd2eefdc8496e218ada1a0d0379a70 (patch)
treed15e529dfa68e0bd446246c73bbf438df340b609 /Copyright
parentcf6f1106eac31499f645720b5e1598a995de1f71 (diff)
downloadmpv-326d887a41dd2eefdc8496e218ada1a0d0379a70.tar.bz2
mpv-326d887a41dd2eefdc8496e218ada1a0d0379a70.tar.xz
wayland: fix some memory leaks on initialization failure
This commonly happens when initializing vo_opengl on a X11-only system. Unfortunately, most wl_*_destroy() functions appear not to accept NULL pointers, making partial deinitialization a pain: you have to add your own NULL checks everywhere to avoid crashes. xkb.context is uninitialized separately, because you can initialize it just fine, even if the rest of input initialization fails.
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions