diff -r acd3cd4aaceb -r 2efc27d87e1c lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp --- 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); }