--- 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));