summaryrefslogtreecommitdiffstats
path: root/src/H5HL.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HL.c')
-rw-r--r--src/H5HL.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5HL.c b/src/H5HL.c
index ed83090..4c3e34d 100644
--- a/src/H5HL.c
+++ b/src/H5HL.c
@@ -555,11 +555,14 @@ H5HL_peek(H5F_t *f, haddr_t addr, size_t offset)
static H5HL_free_t *
H5HL_remove_free(H5HL_t *heap, H5HL_free_t *fl)
{
+ FUNC_ENTER_NOINIT(H5HL_remove_free);
+
if (fl->prev) fl->prev->next = fl->next;
if (fl->next) fl->next->prev = fl->prev;
if (!fl->prev) heap->freelist = fl->next;
- return H5FL_FREE(H5HL_free_t,fl);
+
+ FUNC_LEAVE(H5FL_FREE(H5HL_free_t,fl));
}
/*-------------------------------------------------------------------------