diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-15 20:07:18 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-15 20:07:18 (GMT) |
commit | 2e4c7f1107c5d7a72c34b1f19d1a9ce5b08aa43b (patch) | |
tree | 21f20dd42522b9395d76c17fb3f2ed8ae4519e8a /src/H5AC.c | |
parent | 2147a97e4b13f16288a4c8e7cddbfede0b11cb73 (diff) | |
download | hdf5-2e4c7f1107c5d7a72c34b1f19d1a9ce5b08aa43b.zip hdf5-2e4c7f1107c5d7a72c34b1f19d1a9ce5b08aa43b.tar.gz hdf5-2e4c7f1107c5d7a72c34b1f19d1a9ce5b08aa43b.tar.bz2 |
[svn-r7373] Purpose:
Code cleanup
Description:
Cleanup H5Pclose code and also switch a few internal users of H5Pclose
to use H5I_dec_ref instead.
Platforms tested:
FreeBSD 4.8 (sleipnir)
too small for h5committest
Diffstat (limited to 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -308,9 +308,9 @@ H5AC_term_interface(void) n = 1; /* H5I */ /* Close H5AC dxpl */ - if (H5Pclose(H5AC_dxpl_id) < 0 || - H5Pclose(H5AC_noblock_dxpl_id) < 0 || - H5Pclose(H5AC_ind_dxpl_id) < 0) + if (H5I_dec_ref(H5AC_dxpl_id) < 0 || + H5I_dec_ref(H5AC_noblock_dxpl_id) < 0 || + H5I_dec_ref(H5AC_ind_dxpl_id) < 0) H5E_clear(NULL); /*ignore error*/ else { /* Reset static IDs */ |