lib: fix uninitialized field in message objects.

Initially reported by Eliza Vasquez [1] (via valgrind).

[1]: id:87o7zxj086.fsf@eliza.
This commit is contained in:
David Bremner 2022-05-20 09:46:39 -03:00
parent a9b5f8959a
commit 6810881705

View file

@ -169,6 +169,7 @@ _notmuch_message_create_for_document (const void *talloc_owner,
message->doc = doc;
message->termpos = 0;
message->modified = FALSE;
return message;
}