diff options
author | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2021-03-01 14:18:10 +0800 |
---|---|---|
committer | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2021-03-01 14:18:10 +0800 |
commit | 4fcf73385e8d7a5296b21eb0b78f12982b8138b8 (patch) | |
tree | 2dcb3590d0e5a3ac7c496e611f75114a11e57812 /binding-bluetooth/lib_agent.c | |
parent | ce5000f42dbfa854096a6e8c9da34d48ed04ef31 (diff) |
Fix potential memory leak
json structure allocating code should be placed in where it is used, if
there is a condition check which may cause a return before the
before-mentioned place in the function.
Bug-AGL: SPEC-3584
Change-Id: Ibbcae4357c6011eff29d031a853c8a0435f0a5ce
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'binding-bluetooth/lib_agent.c')
0 files changed, 0 insertions, 0 deletions