projects
/
profile
/
tv
/
apps
/
native
/
air_home.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9947a59
)
prevent:469390 - add null check
00/49500/1
author
Soohye Shin
<soohye.shin@samsung.com>
Wed, 14 Oct 2015 05:39:43 +0000
(14:39 +0900)
committer
Soohye Shin
<soohye.shin@samsung.com>
Wed, 14 Oct 2015 05:39:43 +0000
(14:39 +0900)
Change-Id: I040f681cd412514b4b6831ffdc5501572002b3e3
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/view/view_user_edit.c
patch
|
blob
|
history
diff --git
a/src/view/view_user_edit.c
b/src/view/view_user_edit.c
index 2f3327fd776b32f4e4c912b21385f745dd1f81db..d2cb707ab05e54ce7b85e05d36946ca6f3711787 100644
(file)
--- a/
src/view/view_user_edit.c
+++ b/
src/view/view_user_edit.c
@@
-591,6
+591,11
@@
static void _select_eo(struct _priv *priv, Evas_Object *obj)
_delete_ctxpopup(priv);
file = evas_object_data_get(obj, KEY_ICON);
+ if (!file) {
+ _ERR("failed to get file");
+ return;
+ }
+
focus_file = utils_get_focus_photo_from_photo(file);
if (!strcmp(file, ICON_ADD) || !strcmp(focus_file, ICON_ADD)) {