diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-10-08 21:16:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-10-08 21:16:27 (GMT) |
commit | 2721bb475869900135de0fe14cde6ac1d4d73d8d (patch) | |
tree | f08ef68d6eea2053068277f60ff1173f6b3c60d3 | |
parent | 9eec50a465b79668c0515c4e890ce52f5787ef8d (diff) | |
download | hdf5-2721bb475869900135de0fe14cde6ac1d4d73d8d.zip hdf5-2721bb475869900135de0fe14cde6ac1d4d73d8d.tar.gz hdf5-2721bb475869900135de0fe14cde6ac1d4d73d8d.tar.bz2 |
[svn-r116] Fixed typo which was preventing memory from being free'd
-rw-r--r-- | src/H5A.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -173,7 +173,7 @@ intn H5Ainit_group(group_t grp, /* IN: Group to initialize */ grp_ptr->wrapped=0; grp_ptr->atoms=0; grp_ptr->nextid=reserved; - grp_ptr->free_func=free; + grp_ptr->free_func=free_func; if((grp_ptr->atom_list=(atom_info_t **)HDcalloc(hash_size,sizeof(atom_info_t *)))==NULL) HGOTO_DONE(FAIL); } /* end if */ @@ -617,7 +617,7 @@ intn H5Adec_ref(hid_t atm /* IN: Atom to decrement reference count for */ /* If the reference count is zero, remove the object from the group */ if(atm_ptr->count==0 && (obj=H5Aremove_atom(atm))!=NULL) - grp_ptr->free_func(obj); /* call the user's 'free' function for the atom's information */ + (*grp_ptr->free_func)(obj); /* call the user's 'free' function for the atom's information */ ret_value=SUCCEED; } /* end if */ |