From cf3fdc7b32b44bc86bd5ada95da0ae1f80286bf6 Mon Sep 17 00:00:00 2001 From: Oliver Schmitz Date: Fri, 1 Aug 2025 16:06:07 +0200 Subject: [PATCH] Fixed compiler warning mismatched-new-delete --- source/tool/malloc_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tool/malloc_test.cc b/source/tool/malloc_test.cc index 453a24b7..cd540dc7 100644 --- a/source/tool/malloc_test.cc +++ b/source/tool/malloc_test.cc @@ -30,7 +30,7 @@ int main( while(true) { // Allocate the number of bytes, and de-allocate them again. - std::unique_ptr(new int8_t[nr_bytes]); + std::unique_ptr(new int8_t[nr_bytes]); } } catch(std::exception const& exception) {