Change-Id: I4ee12f22cda7e1b0386f74476a6a48380ddebe2b
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
char* value = NULL;
int result;
- if (!ug || !priv)
+ if (!ug) {
+ LOGE("ug is null");
+ return;
+ }
+
+ if (!priv) {
+ LOGE("appdata is null");
return;
+ }
ret = app_control_get_extra_data(reply, UG_APP_CONTROL_DATA_RESULT, &value);
if ((ret == APP_CONTROL_ERROR_NONE) && (value)) {
}
ad = priv;
- if (!ad) {
- LOGE("appdata is null");
- return;
- }
ret = app_control_reply_to_launch_request(reply, ad->request, (app_control_result_e)result);
if (ret != APP_CONTROL_ERROR_NONE)