Change-Id: Ief6e2780355939214d74199e55698e9f75be6caf
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
/* LCOV_EXCL_STOP */
}
ids = (int*)malloc(sizeof(int)*count);
+ if (ids == NULL) {
+ ERR("malloc failed()");
+ }
for (i = 0; i < count; i++) {
ret = ctsvc_ipc_unmarshal_int(indata, &ids[i]);
if (ret != CONTACTS_ERROR_NONE) {
}
ids = (int*)malloc(sizeof(int)*count);
+ if (ids == NULL) {
+ ERR("malloc() failed");
+ }
for (i = 0; i < count; i++) {
ret = ctsvc_ipc_unmarshal_int(indata, &ids[i]);
if (ret != CONTACTS_ERROR_NONE) {