]> git.notmuchmail.org Git - notmuch/commitdiff
add_message: Fix memory leak of thread_ids GPtrArray.
authorCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 20:05:45 +0000 (13:05 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 20:05:45 +0000 (13:05 -0700)
We were properly feeing this memory when the thread-ids list was not
empty, but leaking it when it was.

Thanks, of course, to valgrind along with the G_SLICE=always-malloc
environment variable which makes leak checking with glib almost
bearable.


No differences found