From 44f5b134e6d2589071842a4fab5f7930a59c721d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 12 Feb 2020 18:55:22 +0900 Subject: [PATCH] Free custom descriptor structs Forgot this earlier --- libs/video/renderer/vulkan/descriptor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/video/renderer/vulkan/descriptor.c b/libs/video/renderer/vulkan/descriptor.c index 4662cb9b4..d0b2031c1 100644 --- a/libs/video/renderer/vulkan/descriptor.c +++ b/libs/video/renderer/vulkan/descriptor.c @@ -319,6 +319,7 @@ QFV_DestroyDescriptorPool (qfv_descriptorpool_t *pool) qfv_devfuncs_t *dfunc = device->funcs; dfunc->vkDestroyDescriptorPool (dev, pool->pool, 0); + free (pool); } void @@ -329,6 +330,7 @@ QFV_DestroyDescriptorSetLayout (qfv_descriptorsetlayout_t *layout) qfv_devfuncs_t *dfunc = device->funcs; dfunc->vkDestroyDescriptorSetLayout (dev, layout->layout, 0); + free (layout); } void @@ -339,4 +341,5 @@ QFV_DestroySampler (qfv_sampler_t *sampler) qfv_devfuncs_t *dfunc = device->funcs; dfunc->vkDestroySampler (dev, sampler->sampler, 0); + free (sampler); }