summaryrefslogtreecommitdiffstats
path: root/src/H5Adense.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Adense.c')
-rw-r--r--src/H5Adense.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Adense.c b/src/H5Adense.c
index 18cdfe9..021fa76 100644
--- a/src/H5Adense.c
+++ b/src/H5Adense.c
@@ -307,6 +307,7 @@ H5A__dense_fnd_cb(const H5A_t *attr, hbool_t *took_ownership, void *_user_attr)
/* Check arguments */
HDassert(attr);
HDassert(user_attr);
+ HDassert(took_ownership);
/*
* If there is an attribute already stored in "user_attr",
* we need to free the dynamially allocated spaces for the