projects
/
platform
/
core
/
pim
/
calendar-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959ceae
)
[prevent] fix prevent
45/51345/2
author
tw123.kim
<tw123.kim@samsung.com>
Wed, 9 Sep 2015 13:43:27 +0000
(22:43 +0900)
committer
Jeesun Kim
<iamjs.kim@samsung.com>
Mon, 9 Nov 2015 03:24:58 +0000
(12:24 +0900)
Change-Id: I5e4d5193dc2631ee04171d5ef8a024fb973b3f77
server/cal_server_contacts.c
patch
|
blob
|
history
diff --git
a/server/cal_server_contacts.c
b/server/cal_server_contacts.c
index
760e66d
..
a086aa8
100644
(file)
--- a/
server/cal_server_contacts.c
+++ b/
server/cal_server_contacts.c
@@
-180,7
+180,7
@@
static int cal_server_contacts_delete_event(int contact_id, int **out_array, int
break;
}
- if (max_count < index) {
+ if (max_count <
=
index) {
max_count *= 2;
array = realloc(array, max_count *sizeof(int));
if (NULL == array) {