Skip to content

Commit

Permalink
Address comments from review
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Mar 26, 2024
1 parent 50f840e commit 429c9c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/chunk_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,9 @@ test_chunk_address_with_userblock(hid_t fapl_id)
}

HDclose(fd);
fd = -1;
HDclose(fd_ub);
fd_ub = -1;

/* Close everything */
if (H5Pclose(fcpl_id) < 0)
Expand All @@ -2390,8 +2392,10 @@ test_chunk_address_with_userblock(hid_t fapl_id)
free(addresses);
free(addresses_ub);

HDremove(UBLOCK_FILE_NAME);
HDremove(NO_UBLOCK_FILE_NAME);
if (H5Fdelete(UBLOCK_FILE_NAME, fapl_id) < 0)
TEST_ERROR;
if (H5Fdelete(NO_UBLOCK_FILE_NAME, fapl_id) < 0)
TEST_ERROR;

PASSED();
return 0;
Expand Down

0 comments on commit 429c9c5

Please sign in to comment.