diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2003-10-10 16:04:48 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2003-10-10 16:04:48 (GMT) |
commit | 0ee744833ea2953473c3a90ca91596c6e7bcaf11 (patch) | |
tree | 6471d914c80d461fcf6d04ff5a011c78bee0fb41 | |
parent | 9ae8ff3906c43d35dcd499265cbba9b27f7190a3 (diff) | |
download | hdf5-0ee744833ea2953473c3a90ca91596c6e7bcaf11.zip hdf5-0ee744833ea2953473c3a90ca91596c6e7bcaf11.tar.gz hdf5-0ee744833ea2953473c3a90ca91596c6e7bcaf11.tar.bz2 |
[svn-r7600] Purpose:
bug fix
Description:
On windows debug/debugdll; somehow: a crash happened by free() function
although that string is "allocated".
Make some efforts to fix without success.
Suspect a compiler bug.
Solution:
Use #ifdef WIN32 #endif comment out that free function for the time being.
Hopefully h5dump debug version is not used.
Platforms tested:
windows 2000, linux 2.4(no need for more platforms because of win-specified).
Misc. update:
-rw-r--r-- | tools/h5dump/h5dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 62a03d1..7f5c814 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -1461,7 +1461,11 @@ dump_all(hid_t group, const char *name, void * op_data) free(parentxid); free(pointerxid); free(t_tmp); +#ifdef WIN32 + /* free(tx_tmp);*/ +#else free(tx_tmp); +#endif free(t_prefix); } |