summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-01-05 03:46:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-01-05 03:46:10 (GMT)
commit63102599575c860b0f5b839e0e3ab8e5944fd1fc (patch)
treea9f3729446fcd0b328c4577073fcf2b3c79d72d6 /src
parent4b90bb3317c39b347fd67dc753d70fe6808e4f2b (diff)
downloadhdf5-63102599575c860b0f5b839e0e3ab8e5944fd1fc.zip
hdf5-63102599575c860b0f5b839e0e3ab8e5944fd1fc.tar.gz
hdf5-63102599575c860b0f5b839e0e3ab8e5944fd1fc.tar.bz2
[svn-r28800] Description:
Correct H5MM_free => H5MM_xfree Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel
Diffstat (limited to 'src')
-rw-r--r--src/H5B2hdr.c4
-rw-r--r--src/H5B2int.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/H5B2hdr.c b/src/H5B2hdr.c
index b6e0b26..ab424b7 100644
--- a/src/H5B2hdr.c
+++ b/src/H5B2hdr.c
@@ -621,9 +621,9 @@ H5B2__hdr_free(H5B2_hdr_t *hdr)
/* Release the min & max record info, if set */
if(hdr->min_native_rec)
- hdr->min_native_rec = H5MM_free(hdr->min_native_rec);
+ hdr->min_native_rec = H5MM_xfree(hdr->min_native_rec);
if(hdr->max_native_rec)
- hdr->max_native_rec = H5MM_free(hdr->max_native_rec);
+ hdr->max_native_rec = H5MM_xfree(hdr->max_native_rec);
/* Free B-tree header info */
hdr = H5FL_FREE(H5B2_hdr_t, hdr);
diff --git a/src/H5B2int.c b/src/H5B2int.c
index fe82604..f3bae69 100644
--- a/src/H5B2int.c
+++ b/src/H5B2int.c
@@ -2554,13 +2554,13 @@ H5B2__remove_leaf(H5B2_hdr_t *hdr, hid_t dxpl_id, H5B2_node_ptr_t *curr_node_ptr
if(idx == 0) {
if(H5B2_POS_LEFT == curr_pos || H5B2_POS_ROOT == curr_pos) {
if(hdr->min_native_rec)
- hdr->min_native_rec = H5MM_free(hdr->min_native_rec);
+ hdr->min_native_rec = H5MM_xfree(hdr->min_native_rec);
} /* end if */
} /* end if */
if(idx == (unsigned)(leaf->nrec - 1)) {
if(H5B2_POS_RIGHT == curr_pos || H5B2_POS_ROOT == curr_pos) {
if(hdr->max_native_rec)
- hdr->max_native_rec = H5MM_free(hdr->max_native_rec);
+ hdr->max_native_rec = H5MM_xfree(hdr->max_native_rec);
} /* end if */
} /* end if */
} /* end if */
@@ -2865,13 +2865,13 @@ H5B2__remove_leaf_by_idx(H5B2_hdr_t *hdr, hid_t dxpl_id,
if(idx == 0) {
if(H5B2_POS_LEFT == curr_pos || H5B2_POS_ROOT == curr_pos) {
if(hdr->min_native_rec)
- hdr->min_native_rec = H5MM_free(hdr->min_native_rec);
+ hdr->min_native_rec = H5MM_xfree(hdr->min_native_rec);
} /* end if */
} /* end if */
if(idx == (unsigned)(leaf->nrec - 1)) {
if(H5B2_POS_RIGHT == curr_pos || H5B2_POS_ROOT == curr_pos) {
if(hdr->max_native_rec)
- hdr->max_native_rec = H5MM_free(hdr->max_native_rec);
+ hdr->max_native_rec = H5MM_xfree(hdr->max_native_rec);
} /* end if */
} /* end if */
} /* end if */