Skip to contentSkip to conversation

Fix various memory leaks

PATCH In review Steve Grubb 1 participant 1 message May 12, 2021 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

cover Fix various memory leaks

Hello,

Was checking the code view static analysis and found a number of leaks throughout the code. This patch should address most of what was discovered.

Steve Grubb (6):
Fix leak in mesh
Fix leaks in obex
Fix leaks in plugin
Fix leaks in profiles
Fix leaks in src
Fix leaks in tools

 mesh/rpl.c                     |  4 +++-
 obexd/plugins/filesystem.c     |  2 +-
 obexd/plugins/ftp.c            |  8 ++++++--
 obexd/plugins/messages-dummy.c |  1 +
 plugins/hostname.c             |  3 +--
 profiles/audio/avrcp.c         |  4 +++-
 src/main.c                     |  1 +
 src/shared/shell.c             |  1 +
 tools/mesh-cfgclient.c         |  2 +-
 tools/mesh-gatt/gatt.c         |  1 +
 tools/mesh-gatt/node.c         | 12 +++++++++---
 11 files changed, 28 insertions(+), 11 deletions(-)
Signature · 1 line
2.31.1