PPM LoopbackTest: Fix resource leak

This commit is contained in:
Lorenz Meier 2017-01-14 14:18:16 +01:00
parent 3d31914eb5
commit a905babe95

View File

@ -170,6 +170,7 @@ int test_ppm_loopback(int argc, char *argv[])
} else {
warnx("failed reading RC input data");
(void)close(servo_fd);
return ERROR;
}