[PATCH] gas: ginsn: remove unnecessary buffer allocation and free

Jan Beulich jbeulich@suse.com
Tue May 21 07:32:22 GMT 2024


On 18.05.2024 01:27, Indu Bhagat wrote:
> A previous commit 80ec235 fixed the memory leaks, but brought to light
> that the code should ideally make consistent use of snprintf and not
> allocate/free more buffers than necessary.
> 
> gas/
> 	* ginsn.c (ginsn_dst_print): Use snprintf consistently.

Okay.

Jan



More information about the Binutils mailing list