projects
/
platform
/
core
/
uifw
/
libscl-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9c9bf
)
Fix dereference after NULL defects detected by static anlysis tool
23/113223/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Mon, 6 Feb 2017 22:48:23 +0000
(07:48 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Mon, 6 Feb 2017 22:48:23 +0000
(07:48 +0900)
Change-Id: Ifab4ac9e4c571032c8bd212a34bbc186c771783b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
scl/scluiimpl.cpp
patch
|
blob
|
history
diff --git
a/scl/scluiimpl.cpp
b/scl/scluiimpl.cpp
index
9be28cf
..
0852132
100644
(file)
--- a/
scl/scluiimpl.cpp
+++ b/
scl/scluiimpl.cpp
@@
-1176,7
+1176,8
@@
CSCLUIImpl::get_button_geometry(const sclchar* custom_id, SclRectangle *rectangl
{
if (m_initialized) {
CSCLResourceCache *cache= CSCLResourceCache::get_instance();
- return cache->get_button_geometry(custom_id, rectangle);
+ if (cache)
+ return cache->get_button_geometry(custom_id, rectangle);
}
return FALSE;
}