diff --git a/catch/unit/stream/hipLaunchHostFunc.cc b/catch/unit/stream/hipLaunchHostFunc.cc index a3f49387ba..a479632e31 100644 --- a/catch/unit/stream/hipLaunchHostFunc.cc +++ b/catch/unit/stream/hipLaunchHostFunc.cc @@ -436,6 +436,7 @@ TEST_CASE("Unit_hipLaunchHostFunc_Diffpriority") { for (priority = priority_high; priority < priority_low; priority++) { HIP_CHECK(hipStreamDestroy(stream[count++])); } + free(stream); free(usrDataptr->A_h); free(usrDataptr->C_h); free(usrDataptr);