yes, i am deleting the apArray in the destructor.
i instantiate it like this:
Code:
if(apArray)
{
delete apArray;
apArray = NULL;
}
apArray = new(ELeave) CDesCArrayFlat(2);
CleanupStack::PushL(apArray);
apArray->AppendL( _L("None") );
apArray->AppendL( _L("User Defined") );
CleanupStack::Pop(apArray);
and i have this in my destructor:
Code:
delete apArray;
apArray = NULL;
im quite sure the CAknRadioButtonSettingPage has a problem.. i tried deleting it in the destructor (delete page;) and it does not want to compile. i've also tried putting CleanupStack::PushL and Pop after instantiating the setting page and before ExecuteLD, it gives me kern-exec 3.