diff -r 5456b4e8b3a8 -r 3321d3e205b6 idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp --- a/idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp Wed Sep 01 12:32:46 2010 +0100 +++ b/idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp Tue Sep 14 20:58:58 2010 +0300 @@ -30,7 +30,7 @@ #include #include #include -#include +#include // User includes #include "aistrcnv.h" @@ -334,8 +334,9 @@ iProfileNamePointerArray.Remove( aIndex - 1); } - HBufC* name = aText.AllocL(); - iProfileNamePointerArray.Insert( name, aIndex - 1 ); + HBufC* name = aText.AllocLC(); + iProfileNamePointerArray.InsertL( name, aIndex - 1 ); + CleanupStack::Pop( name ); break; } default: