summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-04 21:19:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-04 21:19:34 (GMT)
commit0bd98ecc77ad50a65f43395f383838d7a68071fe (patch)
treeff678fa3d83a3b7c9b82d0c9c2d2b982fa4dd0c6 /src/H5B.c
parenta090a0efa9147a741ec5628f7def7685a2148b81 (diff)
downloadhdf5-0bd98ecc77ad50a65f43395f383838d7a68071fe.zip
hdf5-0bd98ecc77ad50a65f43395f383838d7a68071fe.tar.gz
hdf5-0bd98ecc77ad50a65f43395f383838d7a68071fe.tar.bz2
[svn-r10146] 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 9e36002..e53ec86 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -531,6 +531,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);