I just had a look at the source file boehm-gc/os_dep.c Around line 1103 is the source code
myexefile = fopen(path, "rb"); It appears there is no matching call to fclose and so a resource leak occurs. Suggest add call to fclose. -- Summary: boehm-gc/os_dep.c: Resource leak Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: boehm-gc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40478