diff options
author | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2005-02-04 17:22:29 (GMT) |
---|---|---|
committer | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2005-02-04 17:22:29 (GMT) |
commit | 55926421333eb91828bf3aa4a6288f0bdec4c19b (patch) | |
tree | 08aee43f7898911d3cd4a2763b04dcf0f85e73eb | |
parent | c4bf7bf62abeb3c843524375119e3b60335c823f (diff) | |
download | hdf5-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:
-rw-r--r-- | src/H5Gnode.c | 3 |
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 */ |