Change-Id: I60df426e7bed3a6d809753fb76b4e1dba4a45cbd
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
if (1 != dbus_connection_send(g_conn_sender, msg, NULL)) {
SLOG(LOG_ERROR, TAG_MAC, "[Dbus ERROR] Fail to Send"); //LCOV_EXCL_LINE
+ if (NULL != tmp_disp_text) {
+ free(tmp_disp_text);
+ tmp_disp_text = NULL;
+ }
+ if (NULL != tmp_utt_text) {
+ free(tmp_utt_text);
+ tmp_utt_text = NULL;
+ }
+ if (NULL != tmp_result_json) {
+ free(tmp_result_json);
+ tmp_result_json = NULL;
+ }
return MA_ERROR_OPERATION_FAILED;
} else {
SLOG(LOG_DEBUG, TAG_MAC, "[Dbus DEBUG] Success to Send");