summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 67b88c6..ec7c525 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -1431,12 +1431,12 @@ H5AC_protect(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr,
* The object is already cached; simply remove it from the cache.
*/
thing = (*info);
- (*info)->type = NULL;
- (*info)->addr = HADDR_UNDEF;
- (*info)= NULL;
#ifdef H5AC_DEBUG
cache->diagnostics[(*info)->type->id].nhits++;
#endif /* H5AC_DEBUG */
+ (*info)->type = NULL;
+ (*info)->addr = HADDR_UNDEF;
+ (*info)= NULL;
} else {
#ifdef H5AC_DEBUG
/*