projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the memory leak
[platform/core/connectivity/bluetooth-agent.git]
/
pb-agent
/
bluetooth_pb_agent.c
diff --git
a/pb-agent/bluetooth_pb_agent.c
b/pb-agent/bluetooth_pb_agent.c
index
d86ae74
..
c3df5da
100644
(file)
--- a/
pb-agent/bluetooth_pb_agent.c
+++ b/
pb-agent/bluetooth_pb_agent.c
@@
-1278,6
+1278,7
@@
static void __bluetooth_pb_get_vcards(BluetoothPbAgent *agent,
if (status != CONTACTS_ERROR_NONE) {
contacts_list_destroy(record_list, TRUE);
+ contacts_query_destroy(query);
return;
}