https://sourceware.org/bugzilla/show_bug.cgi?id=16028
Bug ID: 16028
Summary: binutils-2.23.2/ld/ldmain.c:729: possible resource
leak ?
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I just ran the static analyser "cppcheck" over the source code
of the linker. It said
[binutils-2.23.2/ld/ldmain.c:729]: (error) Resource leak: file
I checked this and it looks to me like a call to fclose near
the end of function add_keepsyms_file would fix the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils