X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcheck_update-account.c;h=3039e912e0e89499339df11d2e6b7eb4a2607486;hb=c5c7a9164713055c43ec69bdda8c2767271515a1;hp=70191d0bac3050a6f5399251efd375a1d6bf58f5;hpb=b8c44ea979806119e8925fc0c86e4e5cfafc3528;p=modest diff --git a/tests/check_update-account.c b/tests/check_update-account.c index 70191d0..3039e91 100644 --- a/tests/check_update-account.c +++ b/tests/check_update-account.c @@ -97,6 +97,9 @@ func (gpointer_data) modest_mail_operation_queue_add (queue, mail_op); g_object_unref (G_OBJECT (mail_op)); + + if (account) + g_object_unref (account); return FALSE; }