--- 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;
}