auxiliary/vl: Don't close the drm fd on failure
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 14 Oct 2015 14:37:03 +0000 (15:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:21 +0000 (12:52 +0000)
commitf8a1665542d2bee829ab0c1bbde533f32d983e96
tree6c59d925358842ece72a556bcf21c825de1ad7d0
parente43a771dfa5b99899a4a09cdd2989afc25eef17c
auxiliary/vl: Don't close the drm fd on failure

Ported from an identically named commit in st/xa

commit 35cf3831d71770211f29da6608313dc1f6213d7b
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Thu Jul 3 02:07:36 2014 -0700

    st/xa: Don't close the drm fd on failure v2

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/vl/vl_winsys_dri.c