summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-11 04:05:21 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-11 04:05:21 (GMT)
commitfc84edb7e3514556e1b5cbd5268d35fcf21054b6 (patch)
tree06d36bc6f55016fc2be2dffe019a7c16f094da7e /c++/src/H5Exception.h
parentcd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914 (diff)
downloadhdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.zip
hdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.tar.gz
hdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.tar.bz2
[svn-r28027] Purpose: Fix memory leaks
Description: - Removed H5Library::instance because it is unnecessary. All H5Library's methods are static. This, in turn, removed the memory leaks by H5Library::instance not being deleted. - Added ObjCreatPropList::deleteConstants to atexist() list - Cleaned up comments and format inconsistencies with 1.8 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index 639b633..d49c19a 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -86,8 +86,8 @@ class H5_DLLCPP Exception {
virtual ~Exception() throw();
protected:
- // Default value for detail_message
- static const char DEFAULT_MSG[];
+ // Default value for detail_message
+ static const char DEFAULT_MSG[];
private:
H5std_string detail_message;