webservices/wsdescription/src/sencredential2.cpp
branchRCL_3
changeset 11 6abf3d6055cd
parent 0 62f9d29f7211
--- a/webservices/wsdescription/src/sencredential2.cpp	Fri Feb 19 23:55:35 2010 +0200
+++ b/webservices/wsdescription/src/sencredential2.cpp	Mon Mar 15 12:44:52 2010 +0200
@@ -279,7 +279,10 @@
 
 EXPORT_C CSenCredential2::~CSenCredential2()
     {
-    delete iId;
+    if(iId)
+    	{
+    	delete iId;    	
+    	}
     }
 
 EXPORT_C void CSenCredential2::SetIdL(const TDesC8& aNewId)