[Bug libfortran/35063] I/O leaks handles/memory on Windows XP

Jerry_V_DeLisle at rl dot gov gcc-bugzilla@gcc.gnu.org
Wed Feb 6 20:26:00 GMT 2008



------- Comment #10 from Jerry_V_DeLisle at rl dot gov  2008-02-06 20:25 -------
Reply to comment #9:

This is a very important observation.  I have checked the code and we have code
that free's the internal unit (free_internal_unit) and I have confirmed that it
is called correctly after every write.

My current thinking now is that we are not locking/unlocking the unit correctly
and maybe it is this lock that is leaving behind a windows handle.  Stay tuned,
and thanks for reporting this observation.  


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063



More information about the Gcc-bugs mailing list