notmuch show: Fix misplaced g_object_unref leading to error message.
authorCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 23:01:11 +0000 (15:01 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 23:01:37 +0000 (15:01 -0800)
commit2aa6c2d9a1bef0ce6f7fa3718bd1a2a3bc5f0d85
tree7fec17256c3694f9430309312fb8ca6649d14664
parentc6aae1561a51ba12f716d25e3731019d16115ab4
notmuch show: Fix misplaced g_object_unref leading to error message.

We were inadvertently calling g_object_unref on a wild pointer leading
to the following error message:

GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

Now, why glib doesn't abort on critical errors, I'll never understand.
notmuch.c