summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.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/H5Attribute.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/H5Attribute.h')
-rw-r--r--c++/src/H5Attribute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index eced64e..f5ee4a9 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -86,8 +86,8 @@ class H5_DLLCPP Attribute : public AbstractDs, public IdComponent {
// Destructor: properly terminates access to this attribute.
virtual ~Attribute();
- protected:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
+ protected:
// Sets the attribute id.
virtual void p_setId(const hid_t new_id);
#endif // DOXYGEN_SHOULD_SKIP_THIS