lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 17 ef2ebc87518f
child 57 2efc27d87e1c
child 66 38bdaa106551
--- a/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -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;
 	}