bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16028] New: binutils-2.23.2/ld/ldmain.c:729: possible resource l


From: dcb314 at hotmail dot com
Subject: [Bug ld/16028] New: binutils-2.23.2/ld/ldmain.c:729: possible resource leak ?
Date: Wed, 09 Oct 2013 10:10:04 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]