From a9ce6adf941fdaa8b497b0c769c898f8015eaa35 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 23 Apr 2020 10:46:07 +0200 Subject: [PATCH] v3dv: don't leak the compiler from the physical device Part-of: --- src/broadcom/vulkan/v3dv_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 3c06610..dd37985 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -227,6 +227,8 @@ physical_device_finish(struct v3dv_physical_device *device) { v3dv_wsi_finish(device); + v3d_compiler_free(device->compiler); + close(device->render_fd); if (device->display_fd >= 0) close(device->display_fd); -- 2.7.4