SWDEV-489354 - Fixed memleak in Unit_hipLaunchHostFunc_Diffpriority
Change-Id: I8a8b49b225e2b48973ae37727766a4af04d08f6f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user