SWDEV-488316 - Fix memleaks in PrintfTests

Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007


[ROCm/hip-tests commit: 5dcd005d33]
This commit is contained in:
Rahul Manocha
2024-09-30 14:52:41 -07:00
committed by Rahul Manocha
parent 0cbda7f51f
commit b56373fe04
2 changed files with 2 additions and 0 deletions
@@ -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.