diff -r 238255e8b033 -r 84d9eb65b26f mmsengine/mmsserver/src/mmsmmboxlist.cpp --- a/mmsengine/mmsserver/src/mmsmmboxlist.cpp Fri Apr 16 14:56:15 2010 +0300 +++ b/mmsengine/mmsserver/src/mmsmmboxlist.cpp Mon May 03 12:29:07 2010 +0300 @@ -135,8 +135,13 @@ // When iError not equal to KErrNone, the operation will complete after running through RunL if ( iError == KErrNone ) { - iServerEntry->GetChildrenWithMtm( KUidMsgMMSNotification, *iOldNotifications ); - iOldQuotaEntryId = OldQuotaEntryL(); + TInt err; + err = iServerEntry->GetChildrenWithMtm( KUidMsgMMSNotification, *iOldNotifications ); + if (err != KErrNone) + { + return; + } + iOldQuotaEntryId = OldQuotaEntryL(); } else {