From 55926421333eb91828bf3aa4a6288f0bdec4c19b Mon Sep 17 00:00:00 2001 From: "Robert E. McGrath" Date: Fri, 4 Feb 2005 12:22:29 -0500 Subject: [svn-r9937] Purpose: Bug Description: Assertion failure Solution: don't call decrement when the object doesn't exist. Platforms tested: shanti,verbena Misc. update: --- src/H5Gnode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v0.12