syncmlfw/common/sosserver/src/nsmlsossession.cpp
changeset 60 eb6690d0d439
parent 0 b497e44ab2fc
child 73 ae69c2e8bc34
--- a/syncmlfw/common/sosserver/src/nsmlsossession.cpp	Fri Aug 06 18:29:23 2010 +0530
+++ b/syncmlfw/common/sosserver/src/nsmlsossession.cpp	Thu Aug 19 17:35:34 2010 +0530
@@ -461,6 +461,8 @@
     if ( !iDMAuthInfo )
         {
         aMessage.Complete( KErrNotFound );
+         _DBG_FILE("CNSmlSOSSession::GetDMAuthInfoL(): iDMAuthInfo is NULL");
+        return;
         }
     aMessage.WriteL( 0, iDMAuthInfo->Ptr(0), 0 );
     aMessage.Complete( KErrNone );
@@ -1545,6 +1547,7 @@
     if ( !log )
         {
         aMessage.Complete( KErrBadHandle );
+        return;
         }
     log->ResetL();
     aMessage.Complete(KErrNone);