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
Replace g_memdup to g_memdup2
[platform/core/connectivity/bluetooth-agent.git]
/
map-agent
/
bluetooth_map_agent.c
diff --git
a/map-agent/bluetooth_map_agent.c
b/map-agent/bluetooth_map_agent.c
index
346dcfc
..
72d12c1
100644
(file)
--- a/
map-agent/bluetooth_map_agent.c
+++ b/
map-agent/bluetooth_map_agent.c
@@
-871,7
+871,7
@@
gchar *_bt_get_sms_pdu_from_msg_data(gchar *number,
*msg_pdu_len = index;
FN_END;
- return g_memdup(packet, index);
+ return g_memdup
2
(packet, index);
}
static void __bt_get_sms_sca(TapiHandle *handle, int result, void *data,