diff options
author | averne <averne381-at-gmail.com@ffmpeg.org> | 2025-06-10 20:58:55 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2025-06-11 13:30:07 +0900 |
commit | ba52d7802e0fcb676a3311eab755b1179a67d6bb (patch) | |
tree | 6ff937b42432e87e2eb421d0380b289f3faeedc4 /libavutil/vulkan.c | |
parent | a9b2c10eee9cf28ecbce2f1972564f4aa826a855 (diff) | |
download | ffmpeg-ba52d7802e0fcb676a3311eab755b1179a67d6bb.tar.gz |
vulkan: fix leak in FFVkExecPool
Diffstat (limited to 'libavutil/vulkan.c')
-rw-r--r-- | libavutil/vulkan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 661b9c1c54..e33dbb2113 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -332,6 +332,8 @@ void ff_vk_exec_pool_free(FFVulkanContext *s, FFVkExecPool *pool) av_freep(&sd->desc_sets); } + av_freep(&pool->reg_shd); + for (int i = 0; i < pool->pool_size; i++) { if (pool->cmd_buf_pools[i]) vk->FreeCommandBuffers(s->hwctx->act_dev, pool->cmd_buf_pools[i], |