diff --git a/tools/test-runner.c b/tools/test-runner.c index 2a442af3..b1877b31 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -1468,8 +1468,7 @@ static pid_t start_iwd(const char *config_dir, struct l_queue *wiphy_list, l_strv_free(envp); - if (iwd_phys) - l_free(iwd_phys); + l_free(iwd_phys); return ret; }