From 5f7336a254463a1cdb5541add1e046963f2dfed0 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 13 Jan 2025 14:19:06 -0600 Subject: [PATCH] Use delete []. --- cpp/test/label/label.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/test/label/label.cu b/cpp/test/label/label.cu index 4c3479182f..c588e4133d 100644 --- a/cpp/test/label/label.cu +++ b/cpp/test/label/label.cu @@ -59,8 +59,8 @@ TEST_F(MakeMonotonicTest, Result) ASSERT_TRUE(devArrMatch(actual.data(), expected.data(), m, raft::Compare(), stream)); - delete data_h; - delete expected_h; + delete [] data_h; + delete [] expected_h; } TEST(labelTest, Classlabels)