Merge topic 'test-uv-patches'

ab8b94986d Tests: Fix memory leak in CMakeLib.testUVPatches

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10324
This commit is contained in:
Brad King 2025-02-12 14:07:21 +00:00 committed by Kitware Robot
commit a17adb2e69

View File

@ -28,6 +28,7 @@ static bool test_uv_fs_mkdtemp()
ASSERT_EQUAL(r, 0);
uv_run(loop, UV_RUN_DEFAULT);
uv_fs_req_cleanup(&tempDirReq);
uv_loop_close(loop);
if (!cmSystemTools::FileIsDirectory(tempDir)) {
std::cout << "cmSystemTools::MakeTempDirectory did not create \""
<< tempDir << '\n';