diff --git a/catch/unit/cooperativeGrps/binary_partition.cc b/catch/unit/cooperativeGrps/binary_partition.cc index 0460e9f7a0..a6b8a0872d 100644 --- a/catch/unit/cooperativeGrps/binary_partition.cc +++ b/catch/unit/cooperativeGrps/binary_partition.cc @@ -100,6 +100,7 @@ TEST_CASE("Unit_cg_binary_part") { REQUIRE(even_output == 1); } + HIP_CHECK(hipFree(data)); HIP_CHECK(hipFree(odd_res)); HIP_CHECK(hipFree(even_res)); } \ No newline at end of file