When Intel Fortran quits a program it tidies up after itself so there are no memory leaks. It seems to do this very well.
What happens with dlls? When I exit a Fortran dll that I have written, do I need to be careful to clean up, especially deallocating allocatable arrays or is this done for me?