test-runner: Remove pointless NULL check before calling l_free

This commit is contained in:
Marcel Holtmann 2019-09-08 18:14:13 +02:00
parent 9d1f7ad6f5
commit 7e4a6e8a49
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}