Closing files that should be closed

This commit is contained in:
Lorenz Meier 2013-09-01 10:29:30 +02:00
parent c3408332fd
commit f6bf1c7bf2
1 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,8 @@ void print_status()
break;
}
close(state_sub);
warnx("arming: %s", armed_str);
}
@ -1764,5 +1766,7 @@ void *commander_low_prio_loop(void *arg)
}
close(cmd_sub);
return 0;
}