diff options
Diffstat (limited to 'source/fitz/memento.c')
-rw-r--r-- | source/fitz/memento.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/memento.c b/source/fitz/memento.c index 83522873..b29e07a1 100644 --- a/source/fitz/memento.c +++ b/source/fitz/memento.c @@ -694,8 +694,10 @@ static void Memento_storeDetails(Memento_BlkHeader *head, int type) details->count = count; details->sequence = memento.sequence; details->next = NULL; + VALGRIND_MAKE_MEM_DEFINED(&head->details_tail, sizeof(head->details_tail)); *head->details_tail = details; head->details_tail = &details->next; + VALGRIND_MAKE_MEM_NOACCESS(&head->details_tail, sizeof(head->details_tail)); } #endif |