Tighten up a memory allocation.
authorCarl Worth <cworth@cworth.org>
Sat, 15 Jan 2011 22:01:43 +0000 (14:01 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 15 Jan 2011 23:37:43 +0000 (15:37 -0800)
commit8bef9ba9220956beb8ff634c16344fb00689b973
tree74a373e9533f7fbd2a10ed8512a65e9dee0f78b3
parent36161181df961bb09da8090c13c234145270e5bf
Tighten up a memory allocation.

Using the local talloc context ensures that the memory we are using
here will be freed shortly, (rather than hanging on for a long time
with the notmuch database object).
lib/database.cc