SWDEV-488316 - Fix memleaks in PrintfTests

Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007


[ROCm/hip-tests commit: 5dcd005d33]
这个提交包含在:
Rahul Manocha
2024-09-30 14:52:41 -07:00
提交者 Rahul Manocha
父节点 0cbda7f51f
当前提交 b56373fe04
共修改 2 个文件,包含 2 行新增和 0 行删除
@@ -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.