summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 5479099..7f15026 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -620,8 +620,7 @@ done:
H5SL_close(cache_ptr->slist_ptr);
cache_ptr->magic = 0;
- (void)H5FL_FREE(H5C_t, cache_ptr);
- cache_ptr = NULL;
+ cache_ptr = H5FL_FREE(H5C_t, cache_ptr);
} /* end if */