From 77bbf9c83214a7cd205affe69203f444443b966e Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Mon, 9 Jan 2017 20:22:43 -0600 Subject: [PATCH] Fix delete[] [ROCm/hip commit: a15d236de31dcc4f51b7cf582c6b8137cf28cd00] --- .../tests/src/runtimeApi/multiThread/hipMultiThreadDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/tests/src/runtimeApi/multiThread/hipMultiThreadDevice.cpp b/projects/hip/tests/src/runtimeApi/multiThread/hipMultiThreadDevice.cpp index 7c83211f14..d5fc4cb20f 100644 --- a/projects/hip/tests/src/runtimeApi/multiThread/hipMultiThreadDevice.cpp +++ b/projects/hip/tests/src/runtimeApi/multiThread/hipMultiThreadDevice.cpp @@ -33,7 +33,7 @@ void createThenDestroyStreams(int iterations, int burstSize) } } - delete streams; + delete[] streams; }