X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=tests%2Fcheck_update-account.c;h=3039e912e0e89499339df11d2e6b7eb4a2607486;hp=70191d0bac3050a6f5399251efd375a1d6bf58f5;hb=7c966d893beecfa2f2d5ed4b8fe4ad5a0ae4247e;hpb=b8c44ea979806119e8925fc0c86e4e5cfafc3528 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; }