diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-09-03 00:15:57 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-09-03 00:15:57 (GMT) |
commit | cb0a0eb41eb61e75ddb7a10532e910394babe995 (patch) | |
tree | c0122b29efeacfc3d8da4c8b07bdd7ce0065db9e /src/H5P.c | |
parent | d0c5506d95aee19238c21d5cde4ee19ba0539f2a (diff) | |
download | hdf5-cb0a0eb41eb61e75ddb7a10532e910394babe995.zip hdf5-cb0a0eb41eb61e75ddb7a10532e910394babe995.tar.gz hdf5-cb0a0eb41eb61e75ddb7a10532e910394babe995.tar.bz2 |
[svn-r1627] Cleanup some minor bugs in the MPIO file-driver ported by Robb.
It is working now. Still need to tie up some loose ends.
Diffstat (limited to 'src/H5P.c')
-rw-r--r-- | src/H5P.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1339,8 +1339,8 @@ H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info) } /* Remove old driver */ - assert(dxpl->driver_id>=0); - H5FD_dxpl_free(dxpl->driver_id, dxpl->driver_info); + if (dxpl->driver_id>=0) + H5FD_dxpl_free(dxpl->driver_id, dxpl->driver_info); /* Add new driver */ H5I_inc_ref(driver_id); |