summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fitz/memento.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fitz/memento.c b/fitz/memento.c
index 3ea00f92..85185b51 100644
--- a/fitz/memento.c
+++ b/fitz/memento.c
@@ -1083,6 +1083,8 @@ static int Memento_Internal_checkAllAlloced(Memento_BlkHeader *memblk, void *arg
data->postCorrupt = 0;
data->freeCorrupt = 0;
}
+ else
+ memblk->lastCheckedOK = globals.sequence;
return 0;
}
@@ -1123,6 +1125,8 @@ static int Memento_Internal_checkAllFreed(Memento_BlkHeader *memblk, void *arg)
data->postCorrupt = 0;
data->freeCorrupt = 0;
}
+ else
+ memblk->lastCheckedOK = globals.sequence;
return 0;
}