Hi, during check of the current trunk with the static code analysis tool cppcheck (https://sourceforge.net/projects/cppcheck/) i discovered a resource leak. Please see the attached patch that fixes the issue.
Best regards Ettl Martin Index: os_dep.c =================================================================== --- os_dep.c (Revision 155013) +++ os_dep.c (Arbeitskopie) @@ -1165,6 +1165,7 @@ } GC_add_roots_inner(O32_BASE(seg), O32_BASE(seg)+O32_SIZE(seg), FALSE); } + fclose(myexefile); } # else /* !OS2 */ -- Summary: found a resource leak Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: boehm-gc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ettl dot martin at gmx dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42304