From: Jason Ekstrand Date: Wed, 29 Aug 2018 15:06:56 +0000 (-0500) Subject: anv: Free the app and engine name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdea5d996edaaf59ab0acf3e758c3d9a4c22c335;p=mesa.git anv: Free the app and engine name Fixes: 8c048af5890d4 "anv: Copy the appliation info into the instance" Reviewed-by: Lionel Landwerlin --- 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);