mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r27807] Description:
Close memory leak on failure. Tested on: Linux/32 2.6.x (jam) w/purify
This commit is contained in:
parent
d23cc2da70
commit
81b5e1c51f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user