From 5fb164a28aa5a1c85f93369a2fb8744d9238e5e5 Mon Sep 17 00:00:00 2001 From: Xuelian Bai Date: Fri, 1 Sep 2023 14:25:10 +0800 Subject: Upgrade version to 1.3.268 1. Add dlog for Tizen 2. Fix memory leak issue for generic list Change-Id: Id1d95430af27e11bf76c83e3933475bf8eb6886d --- loader/loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'loader/loader.c') 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; -- cgit v1.2.3