commit | a4741ef4bf6c6fb262b38a897312e929c2161cf9 | [log] [tgz] |
---|---|---|
author | Ildar Kamaletdinov <i.kamaletdinov@omp.ru> | Sat May 07 20:35:03 2022 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon May 09 13:05:38 2022 -0700 |
tree | 695e9d3de14084bb2f28d9bc8da715234a0af817 | |
parent | efa90050937c5eabc6c70a466bd886f164388484 [diff] |
tools: Fix memory leaks in btgatt-server/client According to man buffer allocated by getline() should be freed by the user program even if getline() failed. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.