mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
wg_engine: fix memory leak sanitizer report (fill effect)
Issue: https://github.com/thorvg/thorvg/issues/3292
This commit is contained in:
parent
227a048752
commit
173822b1d9
1 changed files with 2 additions and 0 deletions
|
@ -461,6 +461,7 @@ void WgPipelines::initialize(WgContext& context)
|
||||||
void WgPipelines::releaseGraphicHandles(WgContext& context)
|
void WgPipelines::releaseGraphicHandles(WgContext& context)
|
||||||
{
|
{
|
||||||
// pipeline effects
|
// pipeline effects
|
||||||
|
releaseComputePipeline(tritone_effect);
|
||||||
releaseComputePipeline(tint_effect);
|
releaseComputePipeline(tint_effect);
|
||||||
releaseComputePipeline(fill_effect);
|
releaseComputePipeline(fill_effect);
|
||||||
releaseComputePipeline(dropshadow);
|
releaseComputePipeline(dropshadow);
|
||||||
|
@ -512,6 +513,7 @@ void WgPipelines::releaseGraphicHandles(WgContext& context)
|
||||||
releasePipelineLayout(layout_stencil);
|
releasePipelineLayout(layout_stencil);
|
||||||
// shaders
|
// shaders
|
||||||
releaseShaderModule(shader_effects);
|
releaseShaderModule(shader_effects);
|
||||||
|
releaseShaderModule(shader_gauss);
|
||||||
releaseShaderModule(shader_blit);
|
releaseShaderModule(shader_blit);
|
||||||
releaseShaderModule(shader_scene_compose);
|
releaseShaderModule(shader_scene_compose);
|
||||||
releaseShaderModule(shader_scene_blend);
|
releaseShaderModule(shader_scene_blend);
|
||||||
|
|
Loading…
Add table
Reference in a new issue