mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +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;
|
return 0;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
if(tconv_buf)
|
||||||
|
HDfree (tconv_buf);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user