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:
2ab88f4
)
fix prevent issue
69/45669/1
author
Gukhwan Cho
<gh78.cho@samsung.com>
Mon, 22 Jun 2015 11:16:12 +0000
(20:16 +0900)
committer
MyoungHoon Chae
<mhoon.chae@samsung.com>
Mon, 10 Aug 2015 08:28:54 +0000
(17:28 +0900)
Change-Id: If708fae42cacbead47a3378a4394cd94ea167b03
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
native/ctsvc_db_query.c
patch
|
blob
|
history
diff --git
a/native/ctsvc_db_query.c
b/native/ctsvc_db_query.c
index
1b88efa
..
e2b2d6c
100644
(file)
--- a/
native/ctsvc_db_query.c
+++ b/
native/ctsvc_db_query.c
@@
-949,6
+949,7
@@
int ctsvc_db_make_get_records_query_stmt(ctsvc_query_s *s_query, int offset, int
query = calloc(1, query_size);
if (NULL == query) {
CTS_ERR("calloc() Fail");
+ free(projection);
return CONTACTS_ERROR_OUT_OF_MEMORY;
}