Are unclosed file descriptors a memory leak? #3771
Labels
A-files
Area: related to files, paths, sockets, file descriptors, or handles
C-proposal
Category: a proposal for something we might want to do, or maybe not; details still being worked out
We do not check whether file descriptors got closed before exiting the program.
While it's not wrong per-se, the file descriptors will get closed by the kernel after the program finishes, the same is true for leaked allocations.
Should we report them the same way we report memory leaks? Obviously not for stdin, stdout, and stderr, but for everything else...
The text was updated successfully, but these errors were encountered: