mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r13820]
1) Back out last check in (forget to include the memory leak fix in compare_datasets()) 2) Break the infinite loop when the ref_object points to itself at compare_data()
This commit is contained in:
parent
6a85acac67
commit
7afc8fc6eb
@ -1110,8 +1110,14 @@ compare_datasets(hid_t did, hid_t did2, hid_t pid, const void *wbuf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove external file information from the dcpls */
|
/* Remove external file information from the dcpls */
|
||||||
|
/* Remove default property causes memory leak
|
||||||
if(H5Premove(dcpl, H5D_CRT_EXT_FILE_LIST_NAME) < 0) TEST_ERROR
|
if(H5Premove(dcpl, H5D_CRT_EXT_FILE_LIST_NAME) < 0) TEST_ERROR
|
||||||
if(H5Premove(dcpl2, H5D_CRT_EXT_FILE_LIST_NAME) < 0) TEST_ERROR
|
if(H5Premove(dcpl2, H5D_CRT_EXT_FILE_LIST_NAME) < 0) TEST_ERROR
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* reset external file information from the dcpls */
|
||||||
|
if (H5P_reset_external_file_test(dcpl) < 0) TEST_ERROR
|
||||||
|
if (H5P_reset_external_file_test(dcpl2) < 0) TEST_ERROR
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Compare the rest of the dataset creation property lists */
|
/* Compare the rest of the dataset creation property lists */
|
||||||
|
Loading…
Reference in New Issue
Block a user