diff -r ddc455616bd6 -r 97b0fb8a2cc2 lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp --- a/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp Mon May 03 14:06:43 2010 +0300 +++ b/lowlevellibsandfws/pluginfw/Framework/frame/RegistryData.cpp Tue Jul 20 16:35:53 2010 +0530 @@ -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; }