From 63cca1e65b6c81a6ff29fac46154b8a6ccaaa058 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 20 Jan 2012 18:32:32 +0000 Subject: Ensure Memento checking is reflected in block numbers --- fitz/memento.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.2.3