bt-api: gatt-client: Fix memory leak 45/101045/1
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 30 Nov 2016 05:35:55 +0000 (11:05 +0530)
committerSyam Sidhardhan <s.syam@samsung.com>
Wed, 30 Nov 2016 07:05:55 +0000 (23:05 -0800)
commit72a4d83595d4368a1bbfdadeb6badeaa73a04995
tree1343cbd3de40b74a0e9620138f2b1897a7f97a7f
parent5c92ccc658b5dcabc7e247ccda463e5d80f6849c
bt-api: gatt-client: Fix memory leak

[Model]COMMON
[BinType] AP
[Customer]N/A

[Issue#]Memeory leak reported by cppcheck automated tool
[Request]Internal
[Occurrence Version]PK6

[Problem]Memeory leak reported by cppcheck tool
[Cause & Measure]We were no freeing the memory
[Checking Method]Gatt test tool

[Team]BT
[Developer]Syam Sidhardhan <s.syam@samsung.com>
[Solution company] Samsung
[Change Type]N/A

Change-Id: I2002d1f47cc3381a7db442cb72e3880af1a09aac
(cherry picked from commit 24374850100b737a9132c7b02a61955aed97326f)
bt-api/bt-gatt-client.c