--- a/upnpsettings/upnpgsplugin/src/upnpappsettingitemhomeiap.cpp Tue Sep 21 11:21:11 2010 +0300
+++ b/upnpsettings/upnpgsplugin/src/upnpappsettingitemhomeiap.cpp Mon Oct 04 13:32:20 2010 +0300
@@ -133,10 +133,12 @@
if ( iSharingState || status == UPnPAVControllerFactory::EStatusActive )
{
CAknInformationNote* note = new (ELeave) CAknInformationNote;
+ CleanupStack::PushL(note);
HBufC* noteText = iCoeEnv->AllocReadResourceLC(
R_QTN_IUPNP_IAP_TURN_SHARING_OFF);
note->ExecuteLD(*noteText);
CleanupStack::PopAndDestroy(noteText);
+ CleanupStack::Pop(note);
return;
}