summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 886529d..ed5d351 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -1276,10 +1276,11 @@ H5F_istore_prune (H5F_t *f, size_t size)
}
if (cur) {
- if (H5F_istore_preempt(f, cur)<0) nerrors++;
for (j=0; j<nmeth; j++) {
if (p[j]==cur) p[j] = NULL;
+ if (n[j]==cur) n[j] = cur->next;
}
+ if (H5F_istore_preempt(f, cur)<0) nerrors++;
}
}