From 81b5e1c51ffda212f3aafc7fd15de0a9b98863a3 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 16 Sep 2015 15:30:26 -0500 Subject: [svn-r27807] Description: Close memory leak on failure. Tested on: Linux/32 2.6.x (jam) w/purify --- test/dsets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/dsets.c b/test/dsets.c index c099f9e..7a25f03 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -487,6 +487,8 @@ test_simple_io(const char *env_h5_drvr, hid_t fapl) return 0; error: + if(tconv_buf) + HDfree (tconv_buf); return -1; } -- cgit v0.12