Index: src/gpu/vk/GrVkPipelineState.cpp |
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp |
index 90a27e35a76a4b3e1f28310f7ec72da90ceb0955..5e3acf818a297f3bf62f0cd74934559df94c4486 100644 |
--- a/src/gpu/vk/GrVkPipelineState.cpp |
+++ b/src/gpu/vk/GrVkPipelineState.cpp |
@@ -80,6 +80,9 @@ GrVkPipelineState::~GrVkPipelineState() { |
SkASSERT(!fSamplers.count()); |
SkASSERT(!fTextureViews.count()); |
SkASSERT(!fTextures.count()); |
+ for (int i = 0; i < fFragmentProcessors.count(); ++i) { |
+ delete fFragmentProcessors[i]; |
+ } |
} |
void GrVkPipelineState::freeTempResources(const GrVkGpu* gpu) { |