CCknSearchField::NewL(*this,CCknSearchField::ESearch,NULL,20);
delete SearchField;
User::__DbgMarkEnd(RHeap::EUser,0);
It shows me memory leak.
I did another test , I created simple application, in that I creates
CCknSearchField class control in constructL , I deletes CCknSearchField object in
destructor.Now application exits without allocation panic.
If some memory leaks happens in CCknSearchField , it should happen in above case also.
Whats difference between these two scenerio?
I am not getting Whats going wrong.
I am using CEikAppUi::Exit() in both cases for exting from application.
Thanks in advance.
Manish