projects
/
profile
/
mobile
/
apps
/
native
/
message.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53cde1d
)
Resolve Message App Crash Issue
12/190912/1
tizen_5.0
submit/tizen/20181008.232441
submit/tizen_5.0/20181101.000008
author
Nilesh Trimbake
<t.shripati@samsung.com>
Mon, 8 Oct 2018 14:10:28 +0000
(19:40 +0530)
committer
Nilesh Trimbake
<t.shripati@samsung.com>
Mon, 8 Oct 2018 14:10:28 +0000
(19:40 +0530)
This patch resolve possible crash
in message application
Change-Id: Ia06d8fd664d19d5e6364f0a2ec15bc15b505c869
src/Common/View/src/ViewItem.cpp
patch
|
blob
|
history
diff --git
a/src/Common/View/src/ViewItem.cpp
b/src/Common/View/src/ViewItem.cpp
index 31499ecc3063b38d11e7e72e3671d64b34dbcfa1..70e1f4cadf2b8122ccbbda4b68627400312848bb 100644
(file)
--- a/
src/Common/View/src/ViewItem.cpp
+++ b/
src/Common/View/src/ViewItem.cpp
@@
-43,8
+43,9
@@
void ViewItem::destroy()
void ViewItem::on_delete_cb(void *data, Evas_Object *obj, void *event_info)
{
- auto *self = staticCast<ViewItem>(event_info);
- self->onViewDestroyed();
+ auto *self = staticCast<ViewItem>(data);
+ if (self)
+ self->onViewDestroyed();
}
Evas_Object *ViewItem::setContent(Evas_Object *content, const char *part, bool saveOldContent)