projects
/
platform
/
core
/
uifw
/
multi-assistant-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497c80a
)
Prevent sending preprocessing appid as NULL
11/216411/1
author
Ji-hoon Lee
<dalton.lee@samsung.com>
Thu, 24 Oct 2019 13:18:58 +0000
(22:18 +0900)
committer
Ji-hoon Lee
<dalton.lee@samsung.com>
Thu, 24 Oct 2019 13:20:56 +0000
(22:20 +0900)
Change-Id: Id3744e4a00bfb4f1a4e66996b8952027a285f74c
src/multi_assistant_service.c
patch
|
blob
|
history
diff --git
a/src/multi_assistant_service.c
b/src/multi_assistant_service.c
index
0baf44e
..
278c60c
100644
(file)
--- a/
src/multi_assistant_service.c
+++ b/
src/multi_assistant_service.c
@@
-305,9
+305,11
@@
int mas_client_send_preprocessing_information(int pid)
char* vconf_str = vconf_get_str(WAKEUP_SETTINGS_KEY_PREPROCESSING_ASSISTANT_APPID);
MAS_LOGD("preprocessing_assistant_appid : %s", vconf_str);
- ret = masc_dbus_send_preprocessing_information(pid, vconf_str);
- free(vconf_str);
- vconf_str = NULL;
+ if (vconf_str) {
+ ret = masc_dbus_send_preprocessing_information(pid, vconf_str);
+ free(vconf_str);
+ vconf_str = NULL;
+ }
return ret;
}