[Mesa-dev] [PATCH] anv: Free the app and engine name
Jason Ekstrand
jason at jlekstrand.net
Wed Aug 29 15:07:36 UTC 2018
Fixes: 8c048af5890d4 "anv: Copy the appliation info into the instance"
---
src/intel/vulkan/anv_device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 07de5f7543e..47c6c6e93b4 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -682,6 +682,9 @@ void anv_DestroyInstance(
anv_physical_device_finish(&instance->physicalDevice);
}
+ vk_free(&instance->alloc, instance->app_info.app_name);
+ vk_free(&instance->alloc, instance->app_info.engine_name);
+
VG(VALGRIND_DESTROY_MEMPOOL(instance));
vk_debug_report_instance_destroy(&instance->debug_report_callbacks);
--
2.17.1
More information about the mesa-dev
mailing list