eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0854592cc6c7d255bd6cc3a20b4198b3b35e66a9
parent 2b2b6185e4fed2779ffcb11b36184a2e7dda2bd6
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Mon,  8 Feb 2021 16:02:12 -0600

p2p: Do not leak 'str'

DeviceType setting is stored in 'str', but is never freed.  Fix that.

Diffstat:
Msrc/p2p.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/p2p.c b/src/p2p.c @@ -4077,6 +4077,8 @@ struct p2p_device *p2p_device_update_from_genl(struct l_genl_msg *msg, } } + l_free(str); + l_queue_push_tail(p2p_device_list, dev); l_debug("Created P2P device %" PRIx64, dev->wdev_id);