Change-Id: Ifc7892065771bd2d63b9ac7473ff8d8554f4f1d3
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
}
/* input_from_eas */
- emipc_add_parameter(hAPI, ePARAMETER_IN, (char*)&input_from_eas, sizeof(int));
+ if (emipc_add_parameter(hAPI, ePARAMETER_IN, (char*)&input_from_eas, sizeof(int)) == false)
+ EM_DEBUG_EXCEPTION("emipc_add_parameter() failed");
/* Execute API */
if (emipc_execute_proxy_api(hAPI) != EMAIL_ERROR_NONE) {
EM_SAFE_FREE(search_info);
}
- if (buf) g_remove(buf);
+ if (buf) {
+ if (g_remove(buf) != 0)
+ EM_DEBUG_EXCEPTION("g_remove() failed");
+ }
EM_SAFE_FREE(buf);
EM_SAFE_FREE(response);