vc4: Close our screen's fd on screen close.
authorEric Anholt <eric@anholt.net>
Mon, 11 Jul 2016 23:46:20 +0000 (16:46 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2016 22:46:09 +0000 (15:46 -0700)
commitc65a00eaff85160dd556856c8c2eecf3aabdc4d5
treef23c2848d5f938b770fd698f1e725e2ff52ab606
parentc93f6938d5dac1cfbeae7040929c232d70b6feae
vc4: Close our screen's fd on screen close.

We're passed in a freshly dup()ed fd on screen create, so we should close
it on exit.  Debugged by Hugh Cole-Baker.
src/gallium/drivers/vc4/vc4_screen.c