summaryrefslogtreecommitdiffstats
path: root/src/H5FO.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FO.c')
-rw-r--r--src/H5FO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FO.c b/src/H5FO.c
index bbc3b7d..8e1b98c 100644
--- a/src/H5FO.c
+++ b/src/H5FO.c
@@ -234,7 +234,7 @@ H5FO_delete(H5F_t *f, hid_t dxpl_id, haddr_t addr)
} /* end if */
/* Release the object information */
- (void)H5FL_FREE(H5FO_open_obj_t, open_obj);
+ open_obj = H5FL_FREE(H5FO_open_obj_t, open_obj);
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -506,7 +506,7 @@ H5FO_top_decr(const H5F_t *f, haddr_t addr)
HGOTO_ERROR(H5E_CACHE, H5E_CANTRELEASE, FAIL, "can't remove object from container")
/* Release the object information */
- (void)H5FL_FREE(H5FO_obj_count_t, obj_count);
+ obj_count = H5FL_FREE(H5FO_obj_count_t, obj_count);
} /* end if */
} /* end if */
else