diff options
-rw-r--r-- | test/dtypes.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)) || |