eiwd

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

commit 87a1c5514582092f29f522c75fc1e7b35a1103df
parent b3799a9f8d5237a724437d8e523101bcf7e4e818
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 16 Oct 2019 16:21:50 -0700

hotspot: fix multiple potential memory leaks

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

diff --git a/src/hotspot.c b/src/hotspot.c @@ -423,6 +423,8 @@ static void hs20_dir_watch_cb(const char *filename, l_queue_push_head(hs20_settings, config); + l_settings_free(new); + break; case L_DIR_WATCH_EVENT_REMOVED: config = l_queue_remove_if(hs20_settings, match_filename, @@ -453,6 +455,8 @@ static void hs20_dir_watch_cb(const char *filename, known_network_update(&config->super, new, connected_time); + l_settings_free(new); + break; case L_DIR_WATCH_EVENT_ACCESSED: break;