--- a/emailuis/emailui/src/FreestyleMessageHeaderURLEventHandler.cpp Mon Mar 15 12:39:10 2010 +0200
+++ b/emailuis/emailui/src/FreestyleMessageHeaderURLEventHandler.cpp Wed Mar 31 21:08:33 2010 +0300
@@ -245,7 +245,10 @@
{
// Probably, only the headers were downloaded. Check if attachments
// were downloaded later.
- iAttachmentsListModel->UpdateListL( iMailMessage );
+ if( iMailMessage )
+ {
+ iAttachmentsListModel->UpdateListL( iMailMessage );
+ }
for (TInt i=0; i<iAttachmentsListModel->GetModel().Count(); i++)
{
if ( iAttachmentsListModel->GetModel()[i].partData.iMessagePartId.Id() == id )