Message ID | 20240510121355.3241456-17-hadess@hadess.net |
---|---|
State | New |
Headers | show |
Series | Fix a number of static analysis issues | expand |
diff --git a/tools/iso-tester.c b/tools/iso-tester.c index 046606068206..d54fa56ecd44 100644 --- a/tools/iso-tester.c +++ b/tools/iso-tester.c @@ -1804,6 +1804,7 @@ static int create_iso_sock(struct test_data *data) master_bdaddr = hciemu_get_central_bdaddr(data->hciemu); if (!master_bdaddr) { tester_warn("No master bdaddr"); + close(sk); return -ENODEV; }