diff options
author | Brian Gix <brian.gix@intel.com> | 2020-05-15 18:22:03 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-05-15 18:25:30 -0700 |
commit | d18cb97bb5cada101a5786d34241508d85227ba4 (patch) | |
tree | 09faf616918a304b9e3380c51bf06f35608da9ad /mesh/agent.c | |
parent | cc0719ceae2d048e50832cea0890cff1da3d2b52 (diff) | |
download | bluez-d18cb97bb5cada101a5786d34241508d85227ba4.tar.gz |
mesh: Fix valgrind memory leak warnings
These warnings are caused by not completely freeing memory allocations
at shutdown, and are not serious, but they make valgrind output cleaner.
Diffstat (limited to 'mesh/agent.c')
-rw-r--r-- | mesh/agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/agent.c b/mesh/agent.c index bb52f4146..a06cc2b99 100644 --- a/mesh/agent.c +++ b/mesh/agent.c @@ -245,6 +245,7 @@ void mesh_agent_cleanup(void) return; l_queue_destroy(agents, agent_free); + agents = NULL; } |