diff -r d09ac5c1e252 -r 0bf1d54f37d9 mobilemessaging/unieditor/application/src/UniEditorObjectsModelObserver.cpp --- a/mobilemessaging/unieditor/application/src/UniEditorObjectsModelObserver.cpp Thu Jan 07 12:45:05 2010 +0200 +++ b/mobilemessaging/unieditor/application/src/UniEditorObjectsModelObserver.cpp Mon Jan 18 20:16:40 2010 +0200 @@ -105,8 +105,12 @@ { iAppUi.ReleaseImage( ETrue ); } - - editorDoc->DeleteAttachmentL( objInfo->SlideNumber(), obj, EFalse ); + //Coverty fix -- Forward NULL, http://ousrv057/cov.cgi?cid=36246 + if(obj) + { + editorDoc->DeleteAttachmentL( objInfo->SlideNumber(), obj, EFalse ); + } + // Only call AppUI to remove object if it is located on the // current slide.