From: Peter Csaszar Date: Fri, 3 Aug 2007 08:00:02 +0000 (+0000) Subject: fixed crash:modest-mail-operation.c:on_refresh_folder:priv==NULL X-Git-Tag: git_migration_finished~2642 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=33a576813e95e526144e8fa4b3b0c2d29162f7d8 fixed crash:modest-mail-operation.c:on_refresh_folder:priv==NULL pmo-trunk-r2917 --- 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;