notmuch: unref charset_filter to fix one memory leak
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 13 Dec 2011 18:18:48 +0000 (20:18 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 15 Dec 2011 11:38:06 +0000 (07:38 -0400)
commitff91aeedc170b15ea26c68e514b8279ca3ebd3b6
tree87f46f899c0ad7137d27cec8dede964eb49af087
parented56fee6e5e8c114378f2d2def5395caab5d66a6
notmuch: unref charset_filter to fix one memory leak

In my test case added g_object_unref(charset_filter) reduces memory
consumption over 90% when 'notmuch show --format=text "*"' is
executed (~11000 messages, RES ~330M -> ~25M).
notmuch-show.c