projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f88b3d
)
Fix SVace issue.
54/136254/1
author
Deokhyun Kim
<dukan.kim@samsung.com>
Thu, 29 Jun 2017 01:26:45 +0000
(10:26 +0900)
committer
Deokhyun Kim
<dukan.kim@samsung.com>
Thu, 29 Jun 2017 01:26:45 +0000
(10:26 +0900)
Change-Id: I25f17d7014f512f4c52161345260cb88d1bb11ae
src/bluetooth-audio.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-audio.c
b/src/bluetooth-audio.c
index c7036aab9cfb1258a2d4ba44a2f0f6b2c62ef38f..f3d0e357114183b3f0c14253aa01765a77228253 100644
(file)
--- a/
src/bluetooth-audio.c
+++ b/
src/bluetooth-audio.c
@@
-752,10
+752,9
@@
int bt_ag_switch_headset(const char *remote_addr)
BT_CHECK_AG_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(remote_addr);
- char *addr = g_strdup(remote_addr);
- BT_INFO("Remote address = %s", addr);
+ BT_INFO("Remote address = %s", remote_addr);
- error = bluetooth_telephony_set_active_headset(addr);
+ error = bluetooth_telephony_set_active_headset(
remote_
addr);
error = _bt_get_error_code(error);
if (error != BT_ERROR_NONE)