messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp
changeset 52 12db4185673b
parent 43 35b64624a9e7
child 70 a15d9966050f
--- 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());