webservices/wsdescription/src/sencredential2.cpp
branchRCL_3
changeset 11 6abf3d6055cd
parent 0 62f9d29f7211
equal deleted inserted replaced
7:7bc6ab9b5bcd 11:6abf3d6055cd
   277     {
   277     {
   278     }
   278     }
   279 
   279 
   280 EXPORT_C CSenCredential2::~CSenCredential2()
   280 EXPORT_C CSenCredential2::~CSenCredential2()
   281     {
   281     {
   282     delete iId;
   282     if(iId)
       
   283     	{
       
   284     	delete iId;    	
       
   285     	}
   283     }
   286     }
   284 
   287 
   285 EXPORT_C void CSenCredential2::SetIdL(const TDesC8& aNewId)
   288 EXPORT_C void CSenCredential2::SetIdL(const TDesC8& aNewId)
   286     {
   289     {
   287     HBufC8* pNew = aNewId.AllocL();
   290     HBufC8* pNew = aNewId.AllocL();