mbox series

[Bluez,0/6] Fix various memory leaks

Message ID 20210514095728.2b7cbef5@ivy-bridge (mailing list archive)
Headers show
Series Fix various memory leaks | expand

Message

Steve Grubb May 14, 2021, 1:57 p.m. UTC
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(-)

Comments

Luiz Augusto von Dentz May 15, 2021, 12:09 a.m. UTC | #1
Hi Steve,

On Fri, May 14, 2021 at 11:50 AM Steve Grubb <sgrubb@redhat.com> wrote:
>
> 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(-)
>
> --
> 2.31.1

Applied (excluding 2/6), thanks.