diff options
Diffstat (limited to 'lib/index.cc')
-rw-r--r-- | lib/index.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.cc b/lib/index.cc index 125fa6c..e58bc87 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -31,7 +31,7 @@ _index_address_mailbox (notmuch_message_t *message, { InternetAddressMailbox *mailbox = INTERNET_ADDRESS_MAILBOX (address); const char *name, *addr; - void *local = talloc_new (NULL); + void *local = talloc_new (message); name = internet_address_get_name (address); addr = internet_address_mailbox_get_addr (mailbox); |