From ecb52e75d3394f8f373ae37ff2487228997b43a4 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 1 Jun 2000 18:42:25 -0500 Subject: [svn-r2317] Close a small memory leak in the test program (not library). --- test/dtypes.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/dtypes.c b/test/dtypes.c index 0031cf5..4555753 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)) || -- cgit v0.12