diff options
-rw-r--r-- | hl/test/test_image.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hl/test/test_image.c b/hl/test/test_image.c index 76acef8..38f1830 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -289,6 +289,15 @@ static int test_simple(void) *------------------------------------------------------------------------- */ + if(buf1) + HDfree(buf1); + if(buf2) + HDfree(buf2); + if(buf1_out) + HDfree(buf1_out); + if(buf2_out) + HDfree(buf2_out); + /* Close the file. */ if(H5Fclose( fid ) < 0) goto out; |