diff options
author | Xuelian Bai <xuelian.bai@samsung.com> | 2023-09-01 14:25:10 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-30 13:40:46 +0800 |
commit | 5fb164a28aa5a1c85f93369a2fb8744d9238e5e5 (patch) | |
tree | 4b5105908c2cc4574c5ca222af88b542a68952d4 /loader/loader.c | |
parent | 59b00a56b500a7f29afad5e59bc31e799e811de5 (diff) | |
download | Vulkan-Loader-accepted/tizen_9.0_unified.tar.gz Vulkan-Loader-accepted/tizen_9.0_unified.tar.bz2 Vulkan-Loader-accepted/tizen_9.0_unified.zip |
Upgrade version to 1.3.268tizen_9.0_m2_releaseaccepted/tizen/unified/x/20240220.150044accepted/tizen/unified/toolchain/20240311.065918accepted/tizen/unified/dev/20240620.011154accepted/tizen/unified/20240219.160420accepted/tizen/9.0/unified/20241030.232936tizen_9.0tizenaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
1. Add dlog for Tizen
2. Fix memory leak issue for generic list
Change-Id: Id1d95430af27e11bf76c83e3933475bf8eb6886d
Diffstat (limited to 'loader/loader.c')
-rw-r--r-- | loader/loader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index 1a5f938e..9eb6bc66 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -714,8 +714,7 @@ VkResult loader_init_generic_list(const struct loader_instance *inst, struct loa } void loader_destroy_generic_list(const struct loader_instance *inst, struct loader_generic_list *list) { - if (list->count !=0) - loader_instance_heap_free(inst, list->list); + loader_instance_heap_free(inst, list->list); list->count = 0; list->capacity = 0; list->list = NULL; |