summaryrefslogtreecommitdiffstats
path: root/src/H5HLdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HLdbg.c')
-rw-r--r--src/H5HLdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HLdbg.c b/src/H5HLdbg.c
index 13b1d79..bee9196 100644
--- a/src/H5HLdbg.c
+++ b/src/H5HLdbg.c
@@ -112,7 +112,7 @@ CATCH
if(h && FAIL == H5HL_unprotect(h))
H5E_THROW(H5E_CANTUNPROTECT, "unable to release/unprotect local heap");
- if(marker && FAIL == H5MM_xfree(marker))
+ if(marker && NULL != (marker = (uint8_t *)H5MM_xfree(marker)))
H5E_THROW(H5E_CANTFREE, "can't free marker buffer");
END_FUNC(PRIV) /* end H5HL_debug() */