SWDEV-488318 - Fixes memory leaks in SPT tests

Change-Id: Icabc541b25342d7d5c095b437b91f74582cd9336


[ROCm/hip-tests commit: 726a537a74]
This commit is contained in:
Sourabh Betigeri
2024-10-01 13:16:15 -07:00
committad av Rakesh Roy
förälder 6c7ed09ca0
incheckning c3caa7d1de
2 ändrade filer med 13 tillägg och 1 borttagningar
@@ -59,6 +59,11 @@ TEST_CASE("Unit_hipStreamPerThread_Basic") {
for (int i = MEM_SIZE-1; i >= 0; --i) {
CHECK(hostMem[i] == (i+1+SEED));
}
// Clean-up
HIP_CHECK(hipHostFree(hostMem));
HIP_CHECK(hipFree(devMem));
}
TEST_CASE("Unit_hipStreamPerThread_StreamQuery") {