diff -r 2a272ef608c4 -r 3507212d340e messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp --- a/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Tue Aug 03 21:34:40 2010 +0530 +++ b/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Fri Aug 06 23:19:50 2010 +0530 @@ -79,8 +79,8 @@ int at_size = 0; TMsgMediaType mediaType = EMsgMediaUnknown; - UniEditorGenUtils* genUtils = NULL; - QT_TRAP_THROWING(genUtils = new UniEditorGenUtils); + + UniEditorGenUtils* genUtils = q_check_ptr(new UniEditorGenUtils); TRAP_IGNORE(genUtils->getFileInfoL(mPath,at_size, mMimeType,mediaType));