summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-10-02 04:32:16 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-10-02 04:32:16 (GMT)
commiteb20ea5379968148df2035cbebdcf3311f214717 (patch)
tree8d2752e91e039088c6e2dab032c39e60ba39d09d /c++/src/H5PropList.cpp
parent9c9326c7debc3b4f32602ec21cc67cfccafa6fc0 (diff)
downloadhdf5-eb20ea5379968148df2035cbebdcf3311f214717.zip
hdf5-eb20ea5379968148df2035cbebdcf3311f214717.tar.gz
hdf5-eb20ea5379968148df2035cbebdcf3311f214717.tar.bz2
[svn-r25655] Purpose: Fixed HDFFV-8928
Description: Followed hints from user's report on JIRA to remove several potential memory leaks. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r--c++/src/H5PropList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp
index 56743f7..5afe80f 100644
--- a/c++/src/H5PropList.cpp
+++ b/c++/src/H5PropList.cpp
@@ -402,6 +402,7 @@ H5std_string PropList::getProperty(const char* name) const
// Throw exception if H5Pget returns failure
if (ret_value < 0)
{
+ delete []prop_strg_C;
throw PropListIException(inMemFunc("getProperty"), "H5Pget failed");
}