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:
ed23cae
)
fix svace issues
81/122381/1
accepted/tizen_common
accepted/tizen_ivi
accepted/tizen_mobile
accepted/tizen_wearable
accepted/tizen/common/20170331.152803
accepted/tizen/ivi/20170331.083248
accepted/tizen/mobile/20170331.083429
accepted/tizen/unified/20170331.083557
accepted/tizen/wearable/20170331.083341
submit/tizen/20170331.065053
author
Jongkyu Koo
<jk.koo@samsung.com>
Fri, 31 Mar 2017 06:42:59 +0000
(15:42 +0900)
committer
Jongkyu Koo
<jk.koo@samsung.com>
Fri, 31 Mar 2017 06:45:56 +0000
(23:45 -0700)
Change-Id: I0e4ba4c970b98ff525b736f61d133c96e0f91b04
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
common/ctsvc_vcard.c
patch
|
blob
|
history
diff --git
a/common/ctsvc_vcard.c
b/common/ctsvc_vcard.c
index
cc5bf18
..
2f88a38
100644
(file)
--- a/
common/ctsvc_vcard.c
+++ b/
common/ctsvc_vcard.c
@@
-2804,6
+2804,7
@@
static inline int __ctsvc_vcard_get_photo(contacts_record_h contact, ctsvc_list_
} else {
ERR("write() Fail(%d)", errno);
close(fd);
+ g_free(buf);
if (ENOSPC == errno)
return CONTACTS_ERROR_FILE_NO_SPACE; /* No space */
else
@@
-3063,6
+3064,7
@@
static inline int __ctsvc_vcard_get_company_logo(ctsvc_list_s *company_list, cha
} else {
ERR("write() Fail(%d)", errno);
close(fd);
+ g_free(buf);
if (ENOSPC == errno)
return CONTACTS_ERROR_FILE_NO_SPACE; /* No space */
else