diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-10-11 19:33:48 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-10-13 17:56:54 -0400 |
commit | 51d122af23533b0b8318911c4fc8b128ad8eafb7 (patch) | |
tree | 1690a73e00c06ac56bb8ff405ea28aa1dd600099 /src/nspawn | |
parent | a3e7f417d72ba3251fd6b3a228a2721a4b725a03 (diff) |
Introduce _cleanup_fdset_free_
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index fc4a8a36c8..15e48739b9 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1223,7 +1223,7 @@ int main(int argc, char *argv[]) { bool saved_attr_valid = false; struct winsize ws; int kmsg_socket_pair[2] = { -1, -1 }; - FDSet *fds = NULL; + _cleanup_fdset_free_ FDSet *fds = NULL; log_parse_environment(); log_open(); @@ -1725,7 +1725,5 @@ finish: free(arg_directory); free(arg_machine); - fdset_free(fds); - return r; } |