# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1279207386 -10800 # Node ID 8d171aa39c3ffc0e6cc8828e13ae3ada2aabf085 # Parent 800e4b6169c0b1f1621ffcbe230ec389fcfebf2a Revision: 201024 Kit: 2010127 diff -r 800e4b6169c0 -r 8d171aa39c3f omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp --- a/omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp Mon Jun 21 15:24:39 2010 +0300 +++ b/omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp Thu Jul 15 18:23:06 2010 +0300 @@ -623,7 +623,7 @@ FLOG( _L("CAspSyncHandler::OnSyncMLSyncError START") ); // just store error code - sync is terminated only in function OnSyncMLSessionEvent - if (aErrorLevel == ESmlFatalError) + if (aErrorLevel == ESmlFatalError || aErrorLevel == ESmlWarning) { iSyncError = aError; } diff -r 800e4b6169c0 -r 8d171aa39c3f omads/omadsextensions/adapters/agenda/src/nsmlagendadatastore.cpp --- a/omads/omadsextensions/adapters/agenda/src/nsmlagendadatastore.cpp Mon Jun 21 15:24:39 2010 +0300 +++ b/omads/omadsextensions/adapters/agenda/src/nsmlagendadatastore.cpp Thu Jul 15 18:23:06 2010 +0300 @@ -620,6 +620,7 @@ if ( err ) { FLOG(_L("CNSmlAgendaDataStore::DoOpenItemL:Parent Id is not Valid one")); + CleanupStack::PopAndDestroy( ); // writeStream User::RequestComplete( iCallerStatus, KErrNotFound ); return; } @@ -635,6 +636,7 @@ if( err != KErrNone || NULL == calfilename ) { FLOG(_L("CNSmlAgendaDataStore::DoOpenItemL:Invalid CalendarInfo")); + CleanupStack::PopAndDestroy( ); // writeStream User::RequestComplete( iCallerStatus, KErrNotFound ); return; } @@ -652,6 +654,7 @@ FLOG(_L("CNSmlAgendaDataStore::DoOpenItemL: entry is not valid")); delete agendautil; delete calfilename; + CleanupStack::PopAndDestroy( ); // writeStream User::RequestComplete( iCallerStatus, KErrNotFound ); return; }