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>2024-01-16 16:22:49 +0800
commit823276025463091b869600bab298a1a196450dbb (patch)
treeb746c30df55b2458208317871cac4b0e3b05e04b
parent0fa6bf25f831fb758c72294426eeb95cb02f2eda (diff)
downloadvulkan-wsi-layer-823276025463091b869600bab298a1a196450dbb.tar.gz
vulkan-wsi-layer-823276025463091b869600bab298a1a196450dbb.tar.bz2
vulkan-wsi-layer-823276025463091b869600bab298a1a196450dbb.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)