diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/th5d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/th5d.c b/test/th5d.c index 1997d7d..604aaef 100644 --- a/test/th5d.c +++ b/test/th5d.c @@ -219,6 +219,7 @@ static void test_h5d_basic_read(void) ret=H5Dread(did1,H5P_SCALAR,buf); CHECK(ret,FAIL,"H5Dread"); VERIFY(HDmemcmp(buf,data1,buf_size),0,"H5Dread"); + HDfree(buf); ret=H5Mrelease(tid1); CHECK(ret,FAIL,"H5Mrelease"); |