summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)