gas deferrred diags leak

Jan Beulich jbeulich@suse.com
Mon Jul 14 11:33:08 GMT 2025


On 14.07.2025 12:04, Alan Modra wrote:
> asan complains when running the gas all/cond-diag test.
> 
> 	* read.c (deferred_diag_head, deferred_diag_tail): Renamed
> 	from deferred_diags and last_deferred_diag, making the tail
> 	pointer a deferred_diag**.
> 	(s_errwarn_if): Simplify appending to list.  Free unused diag
> 	on error.
> 	(evaluate_deferred_diags): Free list.

Oh yes, sorry - I should have known that something's not going to like
omitting the free()ing.

Jan


More information about the Binutils mailing list