diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-08 04:01:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-08 04:01:08 (GMT) |
commit | 20b58606caaff62d70a7bdfc03dcead16e1e30d4 (patch) | |
tree | ee342f772ca87f28b4041b6eb48eb6c8258b66e2 /src/H5Tcset.c | |
parent | 832a3db9a3a2c0d033d3c299948cbe51a816abe5 (diff) | |
download | hdf5-20b58606caaff62d70a7bdfc03dcead16e1e30d4.zip hdf5-20b58606caaff62d70a7bdfc03dcead16e1e30d4.tar.gz hdf5-20b58606caaff62d70a7bdfc03dcead16e1e30d4.tar.bz2 |
[svn-r20062] Description:
Bring r20061 from trunk to 1.8 branch:
Bring changes from Coverity branch to trunk:
r19930:
Fix memory leaks involving VL attributes in h5repack and h5diff. The buffers in
copy_attr and diff_attr were not checked for the presence of a vlen before being
freed, and vlen storage was never reclaimed. Added checks and calls to
H5D_vlen_reclaim().
r19933:
Purpose: Fix memory leak in H5L_move_cb()
Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed
it manually using H5MM_xfree(). Since H5O_link_copy allocates the link using
H5FL_MALLOC, this causes the link to be allocated from the free list but is
never put back on the free list when it is freed. This prevents the link free
list from shutting down properly. Modified H5L_move_cb() and H5L_move_dest_cb()
to free the link properly using H5O_msg_free().
r19973:
Fix resource leaks by freeing string created by HD5f2string
r19974:
Issue #345: Inialize buf variable to null
Tested on:
Mac OS X/32 10.6.6 (amazon) w/debug & production
(h5committested on Coverity branch)
Diffstat (limited to 'src/H5Tcset.c')
0 files changed, 0 insertions, 0 deletions