mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:
parent
a9b5f8959a
commit
6810881705
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ _notmuch_message_create_for_document (const void *talloc_owner,
|
||||||
|
|
||||||
message->doc = doc;
|
message->doc = doc;
|
||||||
message->termpos = 0;
|
message->termpos = 0;
|
||||||
|
message->modified = FALSE;
|
||||||
|
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue