[svn-r25644] Purpose: Fixed HDFFV-8928
Description:
Followed hints on the JIRA issue to remove several potential memory
leaks.
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
This commit is contained in:
@@ -317,6 +317,7 @@ H5std_string IdComponent::p_get_file_name() const
|
||||
// Check for failure again
|
||||
if( name_size < 0 )
|
||||
{
|
||||
delete []name_C;
|
||||
throw IdComponentException("", "H5Fget_name failed");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user