syncmlfw/ds/agentlog/src/nsmlagentlog.cpp
changeset 66 08c8318ec9cb
parent 64 910464db1b65
equal deleted inserted replaced
64:910464db1b65 66:08c8318ec9cb
  1451 						break;
  1451 						break;
  1452 						//////////////////////////
  1452 						//////////////////////////
  1453 
  1453 
  1454 						case EDataStore:
  1454 						case EDataStore:
  1455 							dbCaps = CNSmlDbCaps::NewL();
  1455 							dbCaps = CNSmlDbCaps::NewL();
  1456 							aDbCaps.Append(dbCaps);
  1456 							TRAPD(err, aDbCaps.AppendL(dbCaps));
       
  1457 							if(err != KErrNone)
       
  1458 							    {
       
  1459 							    delete dbCaps;
       
  1460 								User::Leave( err );								
       
  1461 							    }
  1457 						break;
  1462 						break;
  1458 
  1463 
  1459 						case ESourceRef:
  1464 						case ESourceRef:
  1460 						    if (dbCaps)
  1465 						    if (dbCaps)
  1461 						        {
  1466 						        {