From 33a576813e95e526144e8fa4b3b0c2d29162f7d8 Mon Sep 17 00:00:00 2001 From: Peter Csaszar Date: Fri, 3 Aug 2007 08:00:02 +0000 Subject: [PATCH] fixed crash:modest-mail-operation.c:on_refresh_folder:priv==NULL pmo-trunk-r2917 --- src/modest-mail-operation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index f904a19..0589964 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -2547,6 +2547,8 @@ on_refresh_folder (TnyFolder *folder, self = helper->mail_op; priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self); + g_return_if_fail(priv!=NULL); + if (*error) { priv->error = g_error_copy (*error); priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED; -- 1.7.9.5