eiwd

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

commit aba73171f67d253f2ce5683b920022ca70eaf6f4
parent 7397903234276e88b70a5c3fc6ce247ce6136529
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu, 17 Oct 2019 12:37:04 -0500

wsc: Fix potential memory leak

If the netdev_connect_wsc call fails, handshake_state object isn't
freed.

Diffstat:
Msrc/wsc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/wsc.c b/src/wsc.c @@ -481,6 +481,7 @@ static void wsc_connect(struct wsc *wsc) wsc_eapol_event, wsc) < 0) { dbus_pending_reply(&wsc->pending, dbus_error_failed(wsc->pending)); + handshake_state_free(hs); return; }