diff -r 5fae379060a7 -r bf6a71c50e42 lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp --- a/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp Fri Jun 11 15:26:22 2010 +0300 +++ b/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp Wed Aug 18 11:27:44 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; }