projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7364521
)
submenu crash fix in optionmenu
author
vipul
<vipul.kumar@samsung.com>
Fri, 28 Jun 2013 13:40:32 +0000
(19:10 +0530)
committer
vipul
<vipul.kumar@samsung.com>
Fri, 28 Jun 2013 14:38:57 +0000
(20:08 +0530)
Signed-off-by: vipul <vipul.kumar@samsung.com>
Change-Id: I0334e2aa702277b4411f6ca1d0def333e2ed27d8
src/ui/controls/FUiCtrl_ContextMenuItem.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_ContextMenuItem.cpp
b/src/ui/controls/FUiCtrl_ContextMenuItem.cpp
index
d8a18a4
..
e9f9a86
100644
(file)
--- a/
src/ui/controls/FUiCtrl_ContextMenuItem.cpp
+++ b/
src/ui/controls/FUiCtrl_ContextMenuItem.cpp
@@
-124,6
+124,20
@@
_ContextMenuItem::~_ContextMenuItem(void)
__pLowerDividerLineLabel = null;
}
+ if (__pTextLabel != null)
+ {
+ DetachChild(*__pTextLabel);
+ delete __pTextLabel;
+ __pTextLabel = null;
+ }
+
+ if (__pBitmapLabel != null)
+ {
+ DetachChild(*__pBitmapLabel);
+ delete __pBitmapLabel;
+ __pBitmapLabel = null;
+ }
+
_AccessibilityContainer* pContainer = GetAccessibilityContainer();
if (pContainer)
{