diff options
author | Joonbum Ko <joonbum.ko@samsung.com> | 2023-07-05 13:07:53 +0900 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2023-10-19 10:04:35 +0800 |
commit | dae4adb44d351bc75eb25dd4aa1faf99301830ce (patch) | |
tree | 0c8e1f91067a514662c447b1507403e351c503fa | |
parent | ab94527dedd6ed12dd5556740140d2768f609f68 (diff) | |
download | vulkan-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.cpp | 2 |
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) |