tmp = pims_ipc_data_get(ipc_data, &size);
if (NULL == tmp) {
ERR("pims_ipc_data_get() Fail");
+ free(common->properties_flags);
+ common->properties_flags = NULL;
return CONTACTS_ERROR_NO_DATA;
}
common->property_flag = *(unsigned char*)tmp;
if (CONTACTS_ERROR_NONE != ret) {
/* LCOV_EXCL_START */
ERR("ctsvc_query_get_first_int_result() Fail(%d)", ret);
+ contacts_list_destroy(list, true);
return ret;
/* LCOV_EXCL_STOP */
}
if (CONTACTS_ERROR_NONE != ret) {
/* LCOV_EXCL_START */
ERR("ctsvc_query_get_first_int_result() Fail(%d)", ret);
+ contacts_list_destroy(list, true);
return ret;
/* LCOV_EXCL_STOP */
}
if (CONTACTS_ERROR_NONE != ret) {
/* LCOV_EXCL_START */
ERR("ctsvc_query_get_first_int_result() Fail(%d)", ret);
+ contacts_list_destroy(list, true);
return ret;
/* LCOV_EXCL_STOP */
}
if (CONTACTS_ERROR_NONE != ret) {
/* LCOV_EXCL_START */
ERR("ctsvc_query_get_first_int_result() Fail(%d)", ret);
+ contacts_list_destroy(list, true);
return ret;
/* LCOV_EXCL_STOP */
}
if (CONTACTS_ERROR_NONE != ret) {
/* LCOV_EXCL_START */
ERR("ctsvc_query_get_first_int_result() Fail(%d)", ret);
+ contacts_list_destroy(list, true);
return ret;
/* LCOV_EXCL_STOP */
}
CONTACTS_MATCH_GREATER_THAN, 0);
} else {
ERR("Invalid uri[%s]", uri);
+ contacts_filter_destroy(filter);
+ contacts_query_destroy(query);
return;
}