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.