lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp
changeset 44 97b0fb8a2cc2
parent 22 ddc455616bd6
child 57 2efc27d87e1c
child 66 38bdaa106551
--- a/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Mon May 03 14:06:43 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Tue Jul 20 16:35:53 2010 +0530
@@ -316,10 +316,13 @@
 		delete iImplInfo;
 		iImplInfo = NULL;
 		}
-	iImplInfo=CImplementationInformation::NewLC(EFalse,aStore);
+	CImplementationInformation* implInfo = 0;
+	implInfo=CImplementationInformation::NewLC(EFalse,aStore);
 	//as we never store the drive name we need to get this from the parent
-	iImplInfo->SetDrive(iParent->iParent->iParent->iDrive);
-	CleanupStack::Pop(1);	
+	implInfo->SetDrive(iParent->iParent->iParent->iDrive);
+	CleanupStack::Pop(1);
+	iImplInfo = implInfo;
+	implInfo = 0;
 	}