summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-12-07 00:44:18 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-12-07 00:44:18 (GMT)
commit0f2f51bb7bdac91ba670bd810bab687594a60251 (patch)
tree3358da9fac021594a6684f2350f0d587bfd8fb8a /src/H5Fint.c
parenta366c0a4925afd53c55f3e35d1770f12da6d6178 (diff)
downloadhdf5-0f2f51bb7bdac91ba670bd810bab687594a60251.zip
hdf5-0f2f51bb7bdac91ba670bd810bab687594a60251.tar.gz
hdf5-0f2f51bb7bdac91ba670bd810bab687594a60251.tar.bz2
Updated the comment for the valgrind fix.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index a14d556..fd79dc2 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -1186,9 +1186,9 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id,
/* Create the 'top' file structure */
if(NULL == (file = H5F_new(NULL, flags, fcpl_id, fapl_id, lf))) {
- /* If the file has not been opened yet and the struct returned is
- * NULL, H5FD_close() will never be called via H5F_dest() so we
- * have to close lf here before heading to the error handling.
+ /* If this is the only time the file has been opened and the struct
+ * returned is NULL, H5FD_close() will never be called via H5F_dest()
+ * so we have to close lf here before heading to the error handling.
*/
if(H5FD_close(lf) < 0)
HDONE_ERROR(H5E_FILE, H5E_CANTOPENFILE, NULL, "unable to close low-level file info")