eiwd

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

commit d8f98a5f200a75803c8eb2d69bf58bd45322136d
parent 13bb8c1afe5ab57c6e9ebe08d0b91dd93df9e976
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Wed, 23 Oct 2019 13:23:59 -0700

hotspot: Fix mem leak on failed hotspot config

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

diff --git a/src/hotspot.c b/src/hotspot.c @@ -423,13 +423,12 @@ static void hs20_dir_watch_cb(const char *filename, } config = hs20_config_new(new, full_path); + l_settings_free(new); + if (!config) - break; + return; 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,