summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5F.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index a35bec9..57b4162 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -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.