diff options
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; |