projects
/
platform
/
core
/
pim
/
contacts-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcb065
)
handled coverity issue
33/281833/2
author
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Thu, 22 Sep 2022 07:47:45 +0000
(13:17 +0530)
committer
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Thu, 22 Sep 2022 16:21:29 +0000
(21:51 +0530)
Change-Id: I4a92cb0b725d54c09413919fce22cef502051137
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
server/ctsvc_ipc_server.c
patch
|
blob
|
history
diff --git
a/server/ctsvc_ipc_server.c
b/server/ctsvc_ipc_server.c
index
836a079
..
64dfb85
100644
(file)
--- a/
server/ctsvc_ipc_server.c
+++ b/
server/ctsvc_ipc_server.c
@@
-1504,6
+1504,7
@@
void ctsvc_ipc_server_db_delete_records(pims_ipc_h ipc, pims_ipc_data_h indata,
ids = (int*)malloc(sizeof(int)*count);
if (ids == NULL) {
ERR("malloc failed()");
+ return;
}
for (i = 0; i < count; i++) {
ret = ctsvc_ipc_unmarshal_int(indata, &ids[i]);