From f551047751e8de826ebc13c9f5069d9842d2f884 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Tue, 5 Jan 2016 11:43:25 -0800 Subject: [PATCH] vk: Destroy device->mutex when destroying the device --- src/vulkan/anv_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 40914aeb1cc..30ab0b2e739 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -783,6 +783,8 @@ void anv_DestroyDevice( close(device->fd); + pthread_mutex_destroy(&device->mutex); + anv_free(&device->alloc, device); } -- 2.30.2