diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-01-16 16:32:19 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-01-16 16:32:19 (GMT) |
commit | 875f19bd6ffa4e6a66d63419f493d1ca911519f7 (patch) | |
tree | fde7b3ed9798036b2bc0376409cd7bb87c75d5d8 /src | |
parent | 63f19e20565a24a434434969ca5d670b42b46d2f (diff) | |
download | hdf5-875f19bd6ffa4e6a66d63419f493d1ca911519f7.zip hdf5-875f19bd6ffa4e6a66d63419f493d1ca911519f7.tar.gz hdf5-875f19bd6ffa4e6a66d63419f493d1ca911519f7.tar.bz2 |
[svn-r24629] another minor fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5VLiod.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5VLiod.c b/src/H5VLiod.c index 18eecd6..9d26836 100644 --- a/src/H5VLiod.c +++ b/src/H5VLiod.c @@ -1634,16 +1634,15 @@ done: } if(file->comm || file->info) if(H5FD_mpi_comm_info_free(&file->comm, &file->info) < 0) - HGOTO_ERROR(H5E_INTERNAL, H5E_CANTFREE, NULL, "Communicator/Info free failed") + HDONE_ERROR(H5E_INTERNAL, H5E_CANTFREE, NULL, "Communicator/Info free failed") if(file->fapl_id != FAIL && H5I_dec_ref(file->fapl_id) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTDEC, NULL, "failed to close plist"); + HDONE_ERROR(H5E_SYM, H5E_CANTDEC, NULL, "failed to close plist"); if(file->remote_file.fcpl_id != FAIL && H5I_dec_ref(file->remote_file.fcpl_id) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTDEC, NULL, "failed to close plist"); + HDONE_ERROR(H5E_SYM, H5E_CANTDEC, NULL, "failed to close plist"); if(file != NULL) { file = H5FL_FREE(H5VL_iod_file_t, file); } /* end if */ - HGOTO_DONE(NULL); } /* end if */ FUNC_LEAVE_NOAPI(ret_value) @@ -1783,7 +1782,6 @@ done: if(file != NULL) { file = H5FL_FREE(H5VL_iod_file_t, file); } /* end if */ - HGOTO_DONE(NULL); } /* end if */ FUNC_LEAVE_NOAPI(ret_value) |