diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index 6c56b8d0f..5a725f677 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -1373,6 +1373,7 @@ int seccomp_notify_cleanup_handler(int fd, void *data) * seccomp notify handler through the command socket (e.g. for attach) * and so we won't touch the container's config. */ + close(fd); #endif return 0; }