summaryrefslogtreecommitdiffstats
path: root/test/external.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2010-11-17 22:11:02 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2010-11-17 22:11:02 (GMT)
commit4810a3d3190603448697cdaa91ed5dc666b22df9 (patch)
tree893e31f7e54a745a88f3705a246352364ce325b9 /test/external.c
parentd54a8334e1e66aa0e231db456a084870afe4aa9a (diff)
downloadhdf5-4810a3d3190603448697cdaa91ed5dc666b22df9.zip
hdf5-4810a3d3190603448697cdaa91ed5dc666b22df9.tar.gz
hdf5-4810a3d3190603448697cdaa91ed5dc666b22df9.tar.bz2
[svn-r19813] 1. Correct mistake for previous checkin rev #19781:
file name listed for DISTCLEANFILES should be testlinks_env.sh 2. Add comments to test_4() in test/external.c about the link name "/ link". 3. Fix memory leak as reported by valgrind in src/H5Lexternal.c: free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.
Diffstat (limited to 'test/external.c')
-rw-r--r--test/external.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/external.c b/test/external.c
index 7fd344e..3e1388c 100644
--- a/test/external.c
+++ b/test/external.c
@@ -879,7 +879,7 @@ test_4 (hid_t fapl)
if((fid = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0)
goto error;
- /* Open the external link */
+ /* Open the external link which is "/ link" as created previously via H5Lcreate_external() */
if((xid = H5Gopen2(fid, "/ link", H5P_DEFAULT)) < 0)
goto error;