I am using the following code to display error note
but this leaks memory - I am printing out the value of user.Heap().Size() after showing this note and it keeps increasing.Code:if(error != KErrNone) { CAknErrorNote *aErrorNote = new (ELeave) CAknErrorNote(); aErrorNote->ExecuteLD(_L("System Error ")) ; }
If I delete the aErrorNote i get Kern-Exec 3 error, Can anyone please tell me the right way of displaying an error note.
Thanks,
Budugu



