From: Kristian Høgsberg Kristensen Date: Tue, 5 Jan 2016 19:43:25 +0000 (-0800) Subject: vk: Destroy device->mutex when destroying the device X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f551047751e8de826ebc13c9f5069d9842d2f884;p=mesa.git vk: Destroy device->mutex when destroying the device --- 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); }