summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 19:52:13 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 19:52:13 (GMT)
commit50f41a8185480ebc91d7ead9bc71b114c4304049 (patch)
treeeb4e3b7518b561b1858b9ab081a2248a66436748 /tools
parent8374f82883cae8e2c7c2f89d9ee81408a861d9a0 (diff)
downloadhdf5-50f41a8185480ebc91d7ead9bc71b114c4304049.zip
hdf5-50f41a8185480ebc91d7ead9bc71b114c4304049.tar.gz
hdf5-50f41a8185480ebc91d7ead9bc71b114c4304049.tar.bz2
[svn-r1303]
got rid of 2 memory leaks in display_numer_data and display_string
Diffstat (limited to 'tools')
-rw-r--r--tools/h5tools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index bdbd98e..f61a5a5 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1612,6 +1612,7 @@ struct h5dump_str_t tempstr;
}
}
}
+ free(out_buf);
}
@@ -1827,6 +1828,7 @@ static void display_string
}
}
+ free(out_buf);
}