summaryrefslogtreecommitdiffstats
path: root/src/H5WB.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5WB.c')
-rw-r--r--src/H5WB.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5WB.c b/src/H5WB.c
index c3e3a6f..f624abc 100644
--- a/src/H5WB.c
+++ b/src/H5WB.c
@@ -137,7 +137,7 @@ H5WB_wrap(void *buf, size_t buf_size)
done:
/* Release resources on error */
if(!ret_value && wb)
- (void)H5FL_FREE(H5WB_t, wb);
+ wb = H5FL_FREE(H5WB_t, wb);
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5WB_wrap() */