lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
child 64 c44f36bb61a3
--- a/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Tue Aug 31 16:54:36 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp	Wed Sep 01 12:36:54 2010 +0100
@@ -316,13 +316,10 @@
 		delete iImplInfo;
 		iImplInfo = NULL;
 		}
-	CImplementationInformation* implInfo = 0;
-	implInfo=CImplementationInformation::NewLC(EFalse,aStore);
+	iImplInfo=CImplementationInformation::NewLC(EFalse,aStore);
 	//as we never store the drive name we need to get this from the parent
-	implInfo->SetDrive(iParent->iParent->iParent->iDrive);
-	CleanupStack::Pop(1);
-	iImplInfo = implInfo;
-	implInfo = 0;
+	iImplInfo->SetDrive(iParent->iParent->iParent->iDrive);
+	CleanupStack::Pop(1);	
 	}