SWDEV-488316 - Fix memleaks in PrintfTests

Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007
This commit is contained in:
Rahul Manocha
2024-09-30 14:52:41 -07:00
zatwierdzone przez Rahul Manocha
rodzic 823cc198f9
commit 5dcd005d33
2 zmienionych plików z 2 dodań i 0 usunięć
+1
Wyświetl plik
@@ -218,6 +218,7 @@ TEST_CASE("Unit_Printf_PrintfBasicTsts") {
test_divergent0(retval, num_blocks, threads_per_block);
test_divergent1(retval, num_blocks, threads_per_block);
test_series(retval, num_blocks, threads_per_block);
HIP_CHECK(hipFree(retval_void));
}
/**
* End doxygen group PrintfTest.
@@ -272,6 +272,7 @@ TEST_CASE("Unit_Printf_PrintfManyWaves") {
test_mixed2(retval, num_blocks, threads_per_block);
test_mixed3(retval, num_blocks, threads_per_block);
test_numbers(num_blocks, threads_per_block);
HIP_CHECK(hipFree(retval_void));
}
/**
* End doxygen group PrintfTest.