projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37766ea
)
Fix the memory leak
07/63107/1
author
Hyuk Lee
<hyuk0512.lee@samsung.com>
Tue, 22 Mar 2016 06:29:42 +0000
(15:29 +0900)
committer
Hyuk Lee
<hyuk0512.lee@samsung.com>
Tue, 22 Mar 2016 06:29:42 +0000
(15:29 +0900)
Change-Id: I4d103d8b79dfe9fd6d5ea379b2e8943f702cf45d
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
pb-agent/bluetooth_pb_vcard.c
patch
|
blob
|
history
diff --git
a/pb-agent/bluetooth_pb_vcard.c
b/pb-agent/bluetooth_pb_vcard.c
index
7c10f35
..
0d1637c
100755
(executable)
--- a/
pb-agent/bluetooth_pb_vcard.c
+++ b/
pb-agent/bluetooth_pb_vcard.c
@@
-2055,7
+2055,10
@@
static gchar **__bluetooth_pb_contact_tel_param(contacts_record_h number)
(gint *)&type);
if (status != CONTACTS_ERROR_NONE)
+ {
+ g_free(strv);
return NULL;
+ }
if (type & CONTACTS_NUMBER_TYPE_HOME) {
strv[i] = g_strdup("HOME");