summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5A.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 9ef6df5..d7cb783 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -503,6 +503,7 @@ H5A_open(H5G_entry_t *ent, unsigned idx)
HGOTO_ERROR(H5E_ATTR, H5E_CANTINIT, FAIL,
"unable to load attribute info from dataset header");
}
+ attr->initialized=1;
/* Copy the symbol table entry */
attr->ent=*ent;