metadataengine/server/src/mdssqlobjectmanipulate.cpp
changeset 40 910a23996aa0
parent 28 c461c7fa72c2
child 48 1389872e7c51
--- a/metadataengine/server/src/mdssqlobjectmanipulate.cpp	Wed Jul 14 07:57:22 2010 +0300
+++ b/metadataengine/server/src/mdssqlobjectmanipulate.cpp	Fri Jul 23 10:03:59 2010 +0300
@@ -71,6 +71,7 @@
 CMdSIdentifierGenerator::~CMdSIdentifierGenerator()
     {
     delete iDigest;
+    iDigest = NULL;
     }
 
 void CMdSIdentifierGenerator::ConstructL( )
@@ -178,11 +179,14 @@
 	for (TInt i = 0; i < count; ++i)
 		{
 		delete iBuffers[i].iBuffer;
+		iBuffers[i].iBuffer = NULL;
 		}
 	iBuffers.Close();
 
 	delete iGenerator;
+	iGenerator = NULL;
 	delete iUri;
+	iUri = NULL;
     }
 
 CMdSSqlObjectManipulate::CMdSSqlObjectManipulate( const CMdsSchema& aSchema,