anv: Free the app and engine name

Fixes: 8c048af589 "anv: Copy the appliation info into the instance"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand 2018-08-29 10:06:56 -05:00
parent f7d0c112cb
commit cdea5d996e
1 changed files with 3 additions and 0 deletions

View File

@ -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);