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