Skip to content

Fix various memory leaks

Steve Grubb linux-bluetooth 1 version In review

Get series with b4
b4 am 20210514095728.2b7cbef5@ivy-bridge

Versions newest first

  1. v1 Latest5 of 6 patches 2 repliesIn review

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Fix leak in meshmesh/rpl.c+3 -11 reply
3/6Fix leaks in pluginplugins/hostname.c+1 -20 replies
4/6Fix leaks in profilesprofiles/audio/avrcp.c+3 -10 replies
5/6Fix leaks in srcsrc/main.c src/shared/shell.c+2 -00 replies
6/6Fix leaks in toolstools/mesh-cfgclient.c tools/mesh-gatt/gatt.c tools/mesh-gatt/node.c+11 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Bluez PATCH 0/6] Fix various memory leaks

Hello,

I was checking the code via 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