summaryrefslogtreecommitdiffstats
path: root/src/H5MFsection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5MFsection.c')
-rw-r--r--src/H5MFsection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MFsection.c b/src/H5MFsection.c
index 888ce62..3f011ec 100644
--- a/src/H5MFsection.c
+++ b/src/H5MFsection.c
@@ -459,7 +459,7 @@ H5MF_sect_simple_free(H5FS_section_info_t *_sect)
HDassert(sect);
/* Release the section */
- (void)H5FL_FREE(H5MF_free_section_t, sect);
+ sect = H5FL_FREE(H5MF_free_section_t, sect);
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5MF_sect_simple_free() */