diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-09-18 15:51:29 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-09-18 15:51:29 (GMT) |
commit | 2aca3b77d63aa78d16262e23d929f2c13570a2d5 (patch) | |
tree | 54bf519b70e182e1628754915bca5cea24f71658 /src/H5T.c | |
parent | d32ad090439ad97af135a269a60dbbff430b84da (diff) | |
download | hdf5-2aca3b77d63aa78d16262e23d929f2c13570a2d5.zip hdf5-2aca3b77d63aa78d16262e23d929f2c13570a2d5.tar.gz hdf5-2aca3b77d63aa78d16262e23d929f2c13570a2d5.tar.bz2 |
[svn-r5929]
Purpose:
bug fix
Description:
memory leak regarding the ID to name buffer
Solution:
added a new function H5G_free_ent_name that is called on several places of the library
Platforms tested:
windows 2000
linux, with cpp
solaris, with fortran, cpp
irix64, with parallel, fortran
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -5406,8 +5406,6 @@ done: * Robb Matzke, 20 May 1999 * Now able to copy opaque types. * - * Pedro Vicente, <pvn@ncsa.uiuc.edu> 22 Aug 2002 - * Added a deep copy of the symbol table entry * *------------------------------------------------------------------------- */ @@ -5430,11 +5428,6 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method) /* Copy actual information */ *new_dt = *old_dt; - - /* Deep copy of the symbol table entry */ - if (H5G_ent_copy(&(old_dt->ent),&(new_dt->ent))<0) - HGOTO_ERROR(H5E_DATATYPE, H5E_CANTOPENOBJ, NULL, "unable to copy entry"); - /* Copy parent information */ if (new_dt->parent) |