diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-03-22 18:22:03 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-03-22 18:22:03 (GMT) |
commit | 39880ddfdfe44812deaee20e8d4ae45a4b36025c (patch) | |
tree | c610b421f94270a5ee851e0abd19642514ece251 | |
parent | 8f0f2e440505cabdb0984a2b47db7d998040ecf3 (diff) | |
download | hdf5-39880ddfdfe44812deaee20e8d4ae45a4b36025c.zip hdf5-39880ddfdfe44812deaee20e8d4ae45a4b36025c.tar.gz hdf5-39880ddfdfe44812deaee20e8d4ae45a4b36025c.tar.bz2 |
[svn-r1158]
put a free in the H5F_close to free up the memory I used for the path
-rw-r--r-- | src/H5F.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -788,6 +788,7 @@ H5F_dest(H5F_t *f) */ --f->nrefs; } + FUNC_LEAVE(ret_value); } @@ -1815,8 +1816,13 @@ H5F_close(H5F_t *f) "unable to flush cache"); } } +#ifdef WIN32 + /*free up the memory for path*/ - /* + free(f->shared->key.path); +#endif + + /* * Destroy the H5F_t struct and decrement the reference count for the * shared H5F_file_t struct. If the reference count for the H5F_file_t * struct reaches zero then destroy it also. |