branch | RCL_3 |
changeset 18 | 0aa5fbdfbc30 |
parent 15 | 08e69e956a8c |
child 23 | 3d340a0166ff |
--- a/uifw/EikStd/coctlsrc/aknstyluspopupmenu.cpp Wed Apr 14 16:14:00 2010 +0300 +++ b/uifw/EikStd/coctlsrc/aknstyluspopupmenu.cpp Tue Apr 27 16:55:05 2010 +0300 @@ -119,7 +119,10 @@ // CAknStylusPopUpMenu::~CAknStylusPopUpMenu() { - iContent->SetObserver(NULL); + if ( iContent ) + { + iContent->SetObserver(NULL); + } if ( iIsDeleted ) { *iIsDeleted = ETrue;