diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2017-04-20 09:53:15 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2017-04-20 09:53:15 +0900 |
commit | 3a4f9202b3ff9d136e6775683c99a2500534e579 (patch) | |
tree | ce4ceff7af5a13c6c6b12994cbb11b1324458d35 | |
parent | d2e3e1be4a07c7146e48930e6a9eb522b07f4f2d (diff) | |
download | bluetooth-3a4f9202b3ff9d136e6775683c99a2500534e579.tar.gz bluetooth-3a4f9202b3ff9d136e6775683c99a2500534e579.tar.bz2 bluetooth-3a4f9202b3ff9d136e6775683c99a2500534e579.zip |
Fix the svace issue (205996)submit/tizen/20170424.043020
Change-Id: Iee59c2ccde10bcdf934f475d5e5ee56a95f751a8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bt-handler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bt-handler.c b/src/bt-handler.c index aeb2c79..43b0ce7 100644 --- a/src/bt-handler.c +++ b/src/bt-handler.c @@ -59,8 +59,10 @@ static void __bt_ipc_update_connected_status(bt_app_data_t *ad, if (bt_adapter_get_bonded_device_info ((const char *)item->addr_str, &device_info) != BT_ERROR_NONE) { - if (device_info) + if (device_info) { bt_adapter_free_device_info(device_info); + device_info = NULL; + } ERR("Get Bonded device info failed"); } |