Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f04b56f

Browse files
committed
fix mismatched new/delete[] in BeginRenderPass
Change-Id: I065e79f9ea676eaec25e89063908cae6f3854e4c Reviewed-on: https://swiftshader-review.googlesource.com/c/23489 Tested-by: Chris Forbes <[email protected]> Reviewed-by: Alexis Hétu <[email protected]>
1 parent 24e7192 commit f04b56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vulkan/VkCommandBuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class BeginRenderPass : public CommandBuffer::Command
4848

4949
~BeginRenderPass() override
5050
{
51-
delete clearValues;
51+
delete [] clearValues;
5252
}
5353

5454
protected:

0 commit comments

Comments
 (0)