[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:
Binh-Minh Ribler
2014-09-30 23:05:57 -05:00
parent 10f1e6acf8
commit 22d0d32716
7 changed files with 25 additions and 1 deletions

View File

@@ -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");
}