summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-08 00:55:57 +0100
committerwm4 <wm4@nowhere>2015-01-08 00:56:21 +0100
commitae8a91d6b64f7ebdcce937a332830be19b5fc7e2 (patch)
tree31cab0a29e8806cb1dc48285ee3cfa9039082d86 /video/out/vo_opengl.c
parent5a7719594e8d14c7362ced85e3220b63130251e3 (diff)
downloadmpv-ae8a91d6b64f7ebdcce937a332830be19b5fc7e2.tar.bz2
mpv-ae8a91d6b64f7ebdcce937a332830be19b5fc7e2.tar.xz
vo_opengl: gl_lcms: fix potential dangling pointer issue
If icc-path is set, but the thing is replaced with a memory profile, then p->icc_path would point to deallocated memory. Also, the NULL checks are unnecessary.
Diffstat (limited to 'video/out/vo_opengl.c')
0 files changed, 0 insertions, 0 deletions