summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:42:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:42:03 (GMT)
commit7659424cc83f0544a6cf981f1d81cea1ffd77f8b (patch)
tree686111c18b603081480e29af7f6667ee365b1f40
parent4ee39d737c04c43a5f3b34c3e553b91c66de04c2 (diff)
downloadhdf5-7659424cc83f0544a6cf981f1d81cea1ffd77f8b.zip
hdf5-7659424cc83f0544a6cf981f1d81cea1ffd77f8b.tar.gz
hdf5-7659424cc83f0544a6cf981f1d81cea1ffd77f8b.tar.bz2
[svn-r2316] Close a small memory leak in the test program (not library).
-rw-r--r--test/dtypes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index fb06bab..5c4803b 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -836,6 +836,10 @@ test_compound_5(void)
H5Tclose(string);
H5Tclose(short_array);
H5Tclose(int_array);
+
+ /* Free memory buffers */
+ free(buf);
+ free(bkg);
/* Check results */
if (memcmp(src[1].name, dst[1].name, sizeof(src[1].name)) ||