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/net-keys.h | |
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/net-keys.h')
-rw-r--r-- | mesh/net-keys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/net-keys.h b/mesh/net-keys.h index 9385e2c51..4f480fcda 100644 --- a/mesh/net-keys.h +++ b/mesh/net-keys.h @@ -21,6 +21,7 @@ #define KEY_REFRESH 0x01 #define IV_INDEX_UPDATE 0x02 +void net_key_cleanup(void); bool net_key_confirm(uint32_t id, const uint8_t master[16]); bool net_key_retrieve(uint32_t id, uint8_t *master); uint32_t net_key_add(const uint8_t master[16]); |