summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-08-29 10:06:56 -0500
committerJason Ekstrand <[email protected]>2018-08-29 11:24:57 -0500
commitcdea5d996edaaf59ab0acf3e758c3d9a4c22c335 (patch)
treeb5a689b0d9e4fe3ace50db9b614c8d49999d5dec
parentf7d0c112cba7b35cf19ec39fcfe54132043ef99a (diff)
anv: Free the app and engine name
Fixes: 8c048af5890d4 "anv: Copy the appliation info into the instance" Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c3
1 files changed, 3 insertions, 0 deletions
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);