summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2000-12-14 15:55:51 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2000-12-14 15:55:51 (GMT)
commit375f018aa18eeb5fc854f2efba2a65d5a057f1a7 (patch)
tree11ea9920503385f4cef0d5267f2e432b98910f9c /tools
parentd07377a897e3219f7ba2bef4aadd7028dc9c7ef4 (diff)
downloadhdf5-375f018aa18eeb5fc854f2efba2a65d5a057f1a7.zip
hdf5-375f018aa18eeb5fc854f2efba2a65d5a057f1a7.tar.gz
hdf5-375f018aa18eeb5fc854f2efba2a65d5a057f1a7.tar.bz2
[svn-r3137]
Purpose: kind of bug fix for windows Description: Use HDfree() instead of free() so that it will not cause exceptions on windows dll Solution: Platforms tested: windows NT 4.0 and 5.0, confirmed at Linux box.
Diffstat (limited to 'tools')
-rw-r--r--tools/h4toh5main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h4toh5main.c b/tools/h4toh5main.c
index 4af7b90..25dc9e5 100644
--- a/tools/h4toh5main.c
+++ b/tools/h4toh5main.c
@@ -139,7 +139,7 @@ int main(int argc, char ** argv) {
break;
}
if (h5_filename != NULL) {
- free(h5_filename);
+ HDfree(h5_filename);
}
break;