Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Aug 31, 2023
1 parent d5b224d commit f33be47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/H5Cimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ H5C__load_cache_image(H5F_t *f)

done:
if (ret_value < 0) {
if (H5_addr_defined(cache_ptr->image_addr))
if (H5F_addr_defined(cache_ptr->image_addr))
cache_ptr->image_buffer = H5MM_xfree(cache_ptr->image_buffer);
}

Expand Down
2 changes: 1 addition & 1 deletion src/H5F.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ H5Freopen(hid_t file_id)

done:
if (ret_value < 0 && new_file)
if (H5F__dest(new_file, FALSE) < 0)
if (H5F__dest(new_file, FALSE, TRUE) < 0)
HDONE_ERROR(H5E_FILE, H5E_CANTCLOSEFILE, H5I_INVALID_HID, "can't close file")

FUNC_LEAVE_API(ret_value)
Expand Down
2 changes: 1 addition & 1 deletion src/H5Fsuper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ H5F__super_init(H5F_t *f)

/* Check if the superblock has been allocated yet */
if (sblock) {
if (non_default_fs_settings && H5_addr_defined(superblock_addr)) {
if (non_default_fs_settings && H5F_addr_defined(superblock_addr)) {
/*
* For non-default free-space settings, the allocation of
* space in the file for the superblock may have have allocated
Expand Down

0 comments on commit f33be47

Please sign in to comment.