mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
notmuch clon
2afd95bfc2
Previously, this would allocate new memory with every call. That was with talloc, of course, so there wasn't any leaking (eventually). But since we're now calling this internally we want to be a little less wasteful. It's easy enough to just stash the result into the message on the first call, and then just return that on subsequent calls. |
||
---|---|---|
.gitignore | ||
database-private.h | ||
database.cc | ||
date.c | ||
Makefile | ||
message-file.c | ||
message.cc | ||
message.h | ||
notmuch-private.h | ||
notmuch.c | ||
notmuch.h | ||
query.cc | ||
xutil.c | ||
xutil.h |