From 13737920a757f39fa90e05eed968e27697e1acf3 Mon Sep 17 00:00:00 2001 From: "jiseob.jang" Date: Fri, 8 Jul 2016 17:12:52 +0900 Subject: [PATCH] fix crash in case of nonsupporting notification. Change-Id: I08596c59cc2febfc6efbf1897b817d6e338630af Signed-off-by: jiseob.jang --- src/myaccount_ug_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/myaccount_ug_common.c b/src/myaccount_ug_common.c index 331d546..74a7910 100755 --- a/src/myaccount_ug_common.c +++ b/src/myaccount_ug_common.c @@ -261,7 +261,7 @@ void myaccount_common_handle_notification(const char* event_type) if (appdata->eMode == eMYACCOUNT_ACCOUNT_LIST) { if (count > 0) { if (appdata->add_genlist) { - if( strcmp(event_type, ACCOUNT_NOTI_NAME_SYNC_UPDATE)){ // not sync update -> insert, update, delete + if( event_type == NULL || strcmp(event_type, ACCOUNT_NOTI_NAME_SYNC_UPDATE)){ // not sync update -> insert, update, delete MYACCOUNT_DBUG("# recved noti-event(%s) -> elm_naviframe_item_pop / quit_cb should be called.", (event_type != NULL) ? event_type : "null"); elm_naviframe_item_pop(appdata->navi_bar); appdata->add_genlist = NULL; -- 2.7.4