summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-04 21:19:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-04 21:19:28 (GMT)
commitfc78e01d1534d26d1badc77286e185059e85fba9 (patch)
treec320911ec5feb1bc8d8ee0a05de05f406d3ad16c /src/H5B.c
parentafdf7fcfa6adbadf46f71ccdea52bef769d5285d (diff)
downloadhdf5-fc78e01d1534d26d1badc77286e185059e85fba9.zip
hdf5-fc78e01d1534d26d1badc77286e185059e85fba9.tar.gz
hdf5-fc78e01d1534d26d1badc77286e185059e85fba9.tar.bz2
[svn-r10145] Purpose:
Bug fix Description: Add some "safety net" sort of assertions and sanity checks contributed by user. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 5d8573e..525e12e 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -532,6 +532,7 @@ H5B_dest(H5F_t UNUSED *f, H5B_t *bt)
* Check arguments.
*/
assert(bt);
+ assert(bt->rc_shared);
H5FL_SEQ_FREE(haddr_t,bt->child);
H5FL_BLK_FREE(native_block,bt->native);