syncmlfw/ds/settings/src/NSmlDSSettings.cpp
changeset 73 ae69c2e8bc34
parent 64 910464db1b65
equal deleted inserted replaced
71:d2517372cc44 73:ae69c2e8bc34
   244 	if (error != KErrNone)
   244 	if (error != KErrNone)
   245 	{
   245 	{
   246 	return;
   246 	return;
   247 	}
   247 	}
   248 	
   248 	
       
   249 	CleanupClosePushL(wSession);
   249 	RXMLReader DSProfileParser;
   250 	RXMLReader DSProfileParser;
   250 	DSProfileParser.CreateL();
   251 	DSProfileParser.CreateL();
   251 	CArrayPtrFlat<CNSmlDSProfile>* customProfileArray = new (ELeave) CArrayPtrFlat<CNSmlDSProfile> (5);
   252 	CArrayPtrFlat<CNSmlDSProfile>* customProfileArray = new (ELeave) CArrayPtrFlat<CNSmlDSProfile> (5);
   252 	CleanupStack::PushL(customProfileArray);
   253 	CleanupStack::PushL(customProfileArray);
   253 	
   254 	
   346 	CleanupStack::PopAndDestroy(); // wFile
   347 	CleanupStack::PopAndDestroy(); // wFile
   347 	CleanupStack::PopAndDestroy(); // cb
   348 	CleanupStack::PopAndDestroy(); // cb
   348 	
   349 	
   349 	customProfileArray->ResetAndDestroy();
   350 	customProfileArray->ResetAndDestroy();
   350 	CleanupStack::PopAndDestroy(); //customProfileArray
   351 	CleanupStack::PopAndDestroy(); //customProfileArray
       
   352 	CleanupStack::PopAndDestroy(&wSession); // wSession
   351 	
   353 	
   352 	
   354 	
   353 	}
   355 	}
   354 
   356 
   355 //===============================================
   357 //===============================================