]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch search: Clean up some memory leaks during search loop.
authorCarl Worth <cworth@cworth.org>
Tue, 25 Jan 2011 13:40:35 +0000 (23:40 +1000)
committerCarl Worth <cworth@cworth.org>
Wed, 26 Jan 2011 05:59:19 +0000 (15:59 +1000)
With talloc, we were already freeing all memory by the time we exited
the loop, but that didn't help with excess use of memory inside the
loop, (which was mostly from tallocing some objects with the incorrect
parent).

Thanks to Andrew Tridgell for sitting next to me and teaching me to
use talloc_report_full to find these leaks.


No differences found