...
This rule appears in the C Secure Coding Standard as FIO42FIO22-C. Ensure files are properly closed when they are no longer neededClose files before spawning processes.
This rule appears in the Java Secure Coding Standard as FIO04-J. Release resources when they are no longer needed.
...