Skip to content

Commit

Permalink
Fix bad objcopy test cleanup on failure (#5320)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala authored Feb 17, 2025
1 parent 255371c commit e07da0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/objcopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -8816,6 +8816,7 @@ test_copy_ext_link(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst_fap
H5Gclose(gid);
H5Fclose(fid_dst);
H5Fclose(fid_src);
H5Fclose(fid_ext);
}
H5E_END_TRY
return 1;
Expand Down Expand Up @@ -17092,6 +17093,8 @@ test_copy_dataset_open(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t dst
{
H5Dclose(did);
H5Dclose(did2);
H5Dclose(did3);
H5Dclose(did4);
H5Sclose(sid);
H5Gclose(gid);
H5Gclose(gid2);
Expand Down

0 comments on commit e07da0c

Please sign in to comment.