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