auxiliary/vl/dri: fd management cleanups
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Nov 2015 20:26:59 +0000 (20:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Nov 2015 14:41:00 +0000 (14:41 +0000)
commit5d294d9fa3dcdf8453d97f35e2c799efa887cbcc
tree774a3717907677bb06a5da2e35af137dcc23d215
parent151290c1548052fa4e4d625ba99ad63919467e96
auxiliary/vl/dri: fd management cleanups

Analogous to previous commit, minus the extra dup. We are the one
opening the device thus we can directly use the fd.

Spotted by Coverity (CID 13398671339877)

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/vl/vl_winsys_dri.c