zink: don't leak drm fd on drmPrimeFDToHandle failure

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <!12911>
41 jobs for !12911 with zink-leak in 12 minutes and 40 seconds (queued for 14 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #13780502

00:00:10

 
  Container
passed debian/android_build #13780508

00:00:26

passed debian/arm_build #13780512
aarch64

00:00:33

passed debian/arm_test #13780517

00:00:21

passed debian/i386_build #13780505

00:00:25

passed debian/ppc64el_build #13780506

00:00:30

passed debian/s390x_build #13780507

00:00:26

passed debian/x86_build #13780504

00:00:25

passed debian/x86_build-base #13780503

00:00:34

passed debian/x86_test-base #13780509

00:00:54

passed debian/x86_test-gl #13780510

00:00:24

passed debian/x86_test-vk #13780511

00:00:25

passed fedora/x86_build #13780513

00:00:37

passed kernel+rootfs_amd64 #13780514

00:01:47

passed kernel+rootfs_arm64 #13780515
aarch64

00:00:57

passed kernel+rootfs_armhf #13780516
aarch64

00:00:17

passed windows_build_vs2019 #13780518
windows shell 1809 mesa

00:00:11

 
  Build X86 64
passed debian-clang #13780525

00:04:29

passed debian-clover #13780526

00:01:50

passed debian-clover-testing #13780521

00:01:33

passed debian-gallium #13780522

00:03:14

passed debian-release #13780523

00:02:08

passed debian-testing #13780519

00:01:15

passed debian-testing-asan #13780520

00:01:43

passed debian-vulkan #13780527

00:01:18

passed fedora-release #13780524

00:01:55

 
  Build Misc
passed debian-android #13780528

00:01:47

passed debian-arm64 #13780530
aarch64

00:01:55

passed debian-arm64-asan #13780531
aarch64

00:03:02

passed debian-arm64-build-test #13780532
aarch64

00:01:25

passed debian-armhf #13780529
aarch64

00:02:26

passed debian-i386 #13780534

00:01:47

passed debian-mingw32-x86_64 #13780537

00:02:08

passed debian-ppc64el #13780536

00:02:10

passed debian-s390x #13780535
kvm

00:03:28

passed windows-vs2019 #13780533
windows docker 1809 mesa

00:04:53

 
  Layered Backends
passed zink-lvp-deqp 1/2 #13780541

00:08:46

passed zink-lvp-deqp 2/2 #13780542

00:09:03

passed zink-piglit-lazy #13780540

00:09:54

passed zink-piglit-no_timelines #13780539

00:09:37

passed zink-piglit-timelines #13780538

00:09:55