summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonbum Ko <joonbum.ko@samsung.com>2023-07-05 13:07:53 +0900
committerXuelian Bai <xuelian.bai@samsung.com>2023-10-19 10:04:35 +0800
commitdae4adb44d351bc75eb25dd4aa1faf99301830ce (patch)
tree0c8e1f91067a514662c447b1507403e351c503fa
parentab94527dedd6ed12dd5556740140d2768f609f68 (diff)
downloadvulkan-wsi-layer-dae4adb44d351bc75eb25dd4aa1faf99301830ce.tar.gz
vulkan-wsi-layer-dae4adb44d351bc75eb25dd4aa1faf99301830ce.tar.bz2
vulkan-wsi-layer-dae4adb44d351bc75eb25dd4aa1faf99301830ce.zip
fix new-delete mismatched error
Change-Id: I290d6ecf772ea3d9c89d251f849f00238171b52b Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
-rw-r--r--wsi/tizen/swapchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsi/tizen/swapchain.cpp b/wsi/tizen/swapchain.cpp
index 8264ac2..631f887 100644
--- a/wsi/tizen/swapchain.cpp
+++ b/wsi/tizen/swapchain.cpp
@@ -539,7 +539,7 @@ void swapchain::present_image(uint32_t pendingIndex)
}
if (rects)
- delete rects;
+ delete[] rects;
}
void swapchain::destroy_image(swapchain_image &image)