# | Line 231 | Line 231 | void vm_exit(void) | |
---|---|---|
231 | { | |
232 | #ifdef HAVE_MMAP_VM | |
233 | #ifndef zero_fd | |
234 | < | close(zero_fd); |
234 | > | if (zero_fd != -1) { |
235 | > | close(zero_fd); |
236 | > | zero_fd = -1; |
237 | > | } |
238 | #endif | |
239 | #endif | |
240 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |