From: sooyeon Date: Fri, 30 Sep 2022 02:02:36 +0000 (+0900) Subject: Fix coverity issues X-Git-Tag: accepted/tizen/unified/20221004.073922^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d48a2d5b90da07a0e63dc202b4a297ccd585b82;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Fix coverity issues Change-Id: Ica79c8c2c2804e9f11e45480914726085637eff7 Signed-off-by: sooyeon --- diff --git a/server/vcd_tidl.c b/server/vcd_tidl.c index e142039..08060ca 100644 --- a/server/vcd_tidl.c +++ b/server/vcd_tidl.c @@ -1905,6 +1905,8 @@ int vcdc_send_error_signal_to_app(int pid, int reason, char *err_msg) rpc_port_stub_vcd_stub_vc_notify_cb_invoke(info->notify_cb, pid, msg); + bundle_free(msg); + return VCD_ERROR_NONE; } @@ -2471,6 +2473,7 @@ int vcdc_send_feedback_streaming_to_manager(int manager_pid, int pid, int utt_id rpc_port_stub_vcd_mgr_stub_array_char_create(&streaming_data); if (NULL == streaming_data) { SLOG(LOG_ERROR, TAG_VCD, "[ERROR] Fail to create data handle"); + bundle_free(msg); return VCD_ERROR_OUT_OF_MEMORY; }