[bt-service] Fix SVACE issue 63/139463/1
authorAnurag Biradar <biradar.a@samsung.com>
Wed, 19 Jul 2017 05:07:21 +0000 (10:37 +0530)
committerAnurag Biradar <biradar.a@samsung.com>
Wed, 19 Jul 2017 05:07:21 +0000 (10:37 +0530)
commit4155613e1a858385078607b558979ee3dac9a8c6
tree2b5017df7e2ffe766973d9fbc61b5d79148eaf34
parent3a586f05347613eeac4cda0c8c4df816be60d4c0
[bt-service] Fix SVACE issue

WID 1698763 address is passed to a function after deallocating
WID 1708383 Double free of address variable

Don't free in error case, anyway it will be freed in dbus_return
goto label

Change-Id: Ieee9c498013ee31b06011288e5e803c91111edc3
bt-service/bt-service-tds.c