History

vulkan: fix leak in FFVkExecPool

averne committed 1 year ago

Commit ba52d781 parent a9b2c101 file · +2 −0Browse files

Unified · Split

libavutil/vulkan.c+2−0
@@ -332,6 +332,8 @@ void ff_vk_exec_pool_free(FFVulkanContext *s, FFVkExecPool *pool) · 331 unmodified lines
332 av_freep(&sd->desc_sets);332 av_freep(&sd->desc_sets);
333 }333 }
334 334
335 av_freep(&pool->reg_shd);
336
335 for (int i = 0; i < pool->pool_size; i++) {337 for (int i = 0; i < pool->pool_size; i++) {
336 if (pool->cmd_buf_pools[i])338 if (pool->cmd_buf_pools[i])
337 vk->FreeCommandBuffers(s->hwctx->act_dev, pool->cmd_buf_pools[i],339 vk->FreeCommandBuffers(s->hwctx->act_dev, pool->cmd_buf_pools[i],

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t