summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-17 21:03:56 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-17 21:03:56 (GMT)
commit76cf50e27874f458c7958157fbadde017efa56df (patch)
treebb39e409e17b07f0a0bd475ec6cef9c8289d5416 /src/H5Tcommit.c
parent1e612c3a46880773d53ad315f3aef2104abb9347 (diff)
downloadhdf5-76cf50e27874f458c7958157fbadde017efa56df.zip
hdf5-76cf50e27874f458c7958157fbadde017efa56df.tar.gz
hdf5-76cf50e27874f458c7958157fbadde017efa56df.tar.bz2
[svn-r22587] update the H5I_register_aux to not take the free routine, as it is registered already in the class for each type
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 0945dd0..4566bc2 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -184,7 +184,7 @@ H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id,
type->vol_obj = dt;
/* attach VOL information to the ID */
- if (H5I_register_aux(type_id, vol_plugin, (H5I_free2_t)H5T_close_datatype) < 0)
+ if (H5I_register_aux(type_id, vol_plugin) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "can't attach vol info to ID")
done:
@@ -348,7 +348,7 @@ H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
type->vol_obj = dt;
/* attach VOL information to the ID */
- if (H5I_register_aux(type_id, vol_plugin, (H5I_free2_t)H5T_close_datatype) < 0)
+ if (H5I_register_aux(type_id, vol_plugin) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "can't attach vol info to ID")
done: