bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/30861] Memory leak


From: nickc at redhat dot com
Subject: [Bug gas/30861] Memory leak
Date: Mon, 02 Oct 2023 15:22:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30861

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Jacob,

  Thanks for the bug report.   In general it is not always safe to free an
expression that has been passed to the fix_new_expr() function, as parts of the
expr structure might be referenced by symbols created during the call.  In the
particular case of the riscv_insert_uleb128_fixes() function, it should be safe
however, as the operation is set to O_symbol, which does not result in further
symbols being created.

  I will check in the obvious patch to add a free statement.

Cheers
  Nick

-- 
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]