From 54f4d0a7ed835ba70ffeae20c5ced91ca3295b35 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 18 Mar 2009 17:13:33 +0000 Subject: [PATCH] Fixes FwNULL 5/16 pmo-trunk-r8172 --- src/modest-mail-operation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index b592668..f1907d5 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -1559,7 +1559,8 @@ inbox_refreshed_cb (TnyFolder *inbox, MODEST_MAIL_OPERATION_ERROR_OPERATION_CANCELED, "canceled"); - tny_folder_remove_observer (inbox, info->inbox_observer); + if (inbox) + tny_folder_remove_observer (inbox, info->inbox_observer); g_object_unref (info->inbox_observer); info->inbox_observer = NULL; -- 1.7.9.5