summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5O.c1
-rw-r--r--src/H5VLint.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index d7c6a4c..ca2f3f3 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1192,6 +1192,7 @@ H5Oclose(hid_t object_id)
case H5I_GROUP:
case H5I_DATATYPE:
case H5I_DATASET:
+ case H5I_MAP:
if(H5I_object(object_id) == NULL)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a valid object")
if(H5I_dec_app_ref(object_id) < 0)
diff --git a/src/H5VLint.c b/src/H5VLint.c
index a9388b7..4dcc095 100644
--- a/src/H5VLint.c
+++ b/src/H5VLint.c
@@ -331,7 +331,8 @@ H5VL_get_object(hid_t id)
FUNC_ENTER_NOAPI(NULL)
if(H5I_FILE == obj_type || H5I_GROUP == obj_type || H5I_ATTR == obj_type ||
- H5I_DATASET == obj_type || H5I_DATATYPE == obj_type) {
+ H5I_DATASET == obj_type || H5I_DATATYPE == obj_type
+ || H5I_MAP == obj_type) {
/* get the object */
if(NULL == (obj = H5I_object(id)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "invalid identifier")