[Mesa-dev] [PATCH] anv: Free the app and engine name

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Aug 29 15:18:50 UTC 2018


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 29/08/2018 16:07, Jason Ekstrand wrote:
> 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);




More information about the mesa-dev mailing list