mbox series

[BlueZ,v2,0/2] mesh: Valgrind Clean-up

Message ID 20200516012742.573151-1-brian.gix@intel.com (mailing list archive)
Headers show
Series mesh: Valgrind Clean-up | expand

Message

Brian Gix May 16, 2020, 1:27 a.m. UTC
These two patches address all known outstanding valgrind issues with the
mesh daemon.  The first patch (1/2) fixes actual memory leaks that will
compound over time. The second patch (2/2) fixes less critical warnings
that some memory wasn't entirely freed before exiting.

v2: Fixed checkpatch errors

Brian Gix (2):
  mesh: Fix valgrind memory leaks
  mesh: Fix valgrind memory leak warnings

 mesh/agent.c            |  1 +
 mesh/mesh-config-json.c | 16 ++++++++--------
 mesh/mesh.c             |  9 ++++++++-
 mesh/net-keys.c         |  6 ++++++
 mesh/net-keys.h         |  1 +
 mesh/net.c              | 12 +++++++++++-
 mesh/net.h              |  3 ++-
 mesh/node.c             |  1 +
 8 files changed, 38 insertions(+), 11 deletions(-)

Comments

Brian Gix May 16, 2020, 3:56 p.m. UTC | #1
Patchset Applied
On Fri, 2020-05-15 at 18:27 -0700, Brian Gix wrote:
> These two patches address all known outstanding valgrind issues with the
> mesh daemon.  The first patch (1/2) fixes actual memory leaks that will
> compound over time. The second patch (2/2) fixes less critical warnings
> that some memory wasn't entirely freed before exiting.
> 
> v2: Fixed checkpatch errors
> 
> Brian Gix (2):
>   mesh: Fix valgrind memory leaks
>   mesh: Fix valgrind memory leak warnings
> 
>  mesh/agent.c            |  1 +
>  mesh/mesh-config-json.c | 16 ++++++++--------
>  mesh/mesh.c             |  9 ++++++++-
>  mesh/net-keys.c         |  6 ++++++
>  mesh/net-keys.h         |  1 +
>  mesh/net.c              | 12 +++++++++++-
>  mesh/net.h              |  3 ++-
>  mesh/node.c             |  1 +
>  8 files changed, 38 insertions(+), 11 deletions(-)
>