// There are more than one result.
if (false == vcd_client_manager_get_exclusive()) {
+ vc_cmd_list_h temp_list = NULL;
+
/* Foreground, Widget, Background, System, System-Background */
if (top_priority >= VC_COMMAND_PRIORITY_BACKGROUND) {
vc_cmd_list_h widget_cmd_list = NULL;
vc_cmd_list_h foreground_cmd_list = NULL;
- vc_cmd_list_h temp_list = NULL;
int cnt = 0;
if (0 != vc_cmd_list_create(&temp_list)) {
vc_cmd_list_destroy(foreground_cmd_list, true);
}
vc_cmd_list_destroy(widget_cmd_list, true);
- vc_cmd_list_destroy(temp_list, true);
}
int pid = vcd_client_widget_get_foreground_pid();
}
vc_info_parser_set_result(all_result, event, msg, vc_cmd_list, false);
+ vc_cmd_list_destroy(vc_cmd_list, true);
if (-1 != vcd_client_manager_get_pid()) {
/* Manager client is available */
} else {
/* exclusive command */
vc_info_parser_set_result(all_result, event, msg, vc_cmd_list, true);
+ vc_cmd_list_destroy(vc_cmd_list, true);
if (-1 != vcd_client_manager_get_pid()) {
/* Manager client is available */
vcd_client_manager_set_exclusive(false);
}
- vc_cmd_list_destroy(vc_cmd_list, true);
-
if (VCD_RECOGNITION_MODE_RESTART_AFTER_REJECT == recognition_mode) {
if (VCE_RESULT_EVENT_REJECTED == event) {
SLOG(LOG_DEBUG, TAG_VCD, "[Server] Restart by no or rejected result");