--- a/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Tue Jul 06 14:12:40 2010 +0300
+++ b/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Wed Aug 18 09:45:25 2010 +0300
@@ -78,7 +78,10 @@
int at_size = 0;
TMsgMediaType mediaType = EMsgMediaUnknown;
- UniEditorGenUtils* genUtils = new UniEditorGenUtils;
+
+
+ UniEditorGenUtils* genUtils = q_check_ptr(new UniEditorGenUtils);
+
TRAP_IGNORE(genUtils->getFileInfoL(mPath,at_size,
mMimeType,mediaType));
TRAP_IGNORE(mMaxSmsSize = genUtils->MaxSmsMsgSizeL());