diff options
-rw-r--r-- | libtac/lib/magic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtac/lib/magic.c b/libtac/lib/magic.c index faf70f0..5e27596 100644 --- a/libtac/lib/magic.c +++ b/libtac/lib/magic.c @@ -52,6 +52,7 @@ magic_init() int rfd = open("/dev/urandom", O_RDONLY); if(rfd > 0) { int nb_read = read(rfd, &seed, sizeof(seed)); + close(rfd); } } |