summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5IdComponent.cpp')
-rw-r--r--c++/src/H5IdComponent.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/c++/src/H5IdComponent.cpp b/c++/src/H5IdComponent.cpp
index 4850bb0..60ddadb 100644
--- a/c++/src/H5IdComponent.cpp
+++ b/c++/src/H5IdComponent.cpp
@@ -103,13 +103,15 @@ hid_t IdComponent::getId () const
void IdComponent::reset ()
{
delete ref_count;
+ ref_count = NULL;
}
// Default destructor
IdComponent::~IdComponent() {
-/* uncomment this block when decide to use dontAtExit or fix the atexit/
- global destructor problem - BMR 11/14/00
+/* uncomment this block and complete it when deciding to use dontAtExit
+ unless the atexit/global destructor problem is fixed, then
+ remove it- BMR 11/14/00
if( id == NOTATEXIT )
{