summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-04 17:22:29 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-04 17:22:29 (GMT)
commit55926421333eb91828bf3aa4a6288f0bdec4c19b (patch)
tree08aee43f7898911d3cd4a2763b04dcf0f85e73eb /src
parentc4bf7bf62abeb3c843524375119e3b60335c823f (diff)
downloadhdf5-55926421333eb91828bf3aa4a6288f0bdec4c19b.zip
hdf5-55926421333eb91828bf3aa4a6288f0bdec4c19b.tar.gz
hdf5-55926421333eb91828bf3aa4a6288f0bdec4c19b.tar.bz2
[svn-r9937] Purpose:
Bug Description: Assertion failure Solution: don't call decrement when the object doesn't exist. Platforms tested: shanti,verbena Misc. update:
Diffstat (limited to 'src')
-rw-r--r--src/H5Gnode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index 8ac1c23..3223557 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -1805,7 +1805,8 @@ H5G_node_close(const H5F_t *f)
assert(f);
/* Free the raw B-tree node buffer */
- H5RC_DEC(H5F_GRP_BTREE_SHARED(f));
+ if (H5F_GRP_BTREE_SHARED(f))
+ H5RC_DEC(H5F_GRP_BTREE_SHARED(f));
FUNC_LEAVE_NOAPI(SUCCEED);
} /* end H5G_node_close */